Mix the butter into the almond paste, adding it gradually to avoid lumps. Mix in the hazelnuts.
Stir in enough pastry cream to reach the desired consistency. If the filling is to be piped on the dough, it needs to be a little firmer than if it is to be spread; for spreading, you want it loose enough that you can apply it easily.