So, according to the middle way between eternalism and annihilationism, there is neither no self at all, nor a permanent absolute eternal standalone entity anywhere. The Buddha reinforces this by saying in MN2 that both the "I have a self" and "I have no self" views are inaccurate.
Here comes the concept of dependent origination, which is a very complex topic that we will not discuss here in detail.