Start bottom tab navigation on a specific page

So I’m using both stack navigation with bottom tab navigation. I want to use tab navigation starting on a specific screen not from the very first screen when the app start.

For context, the app start on an onboarding screen, then when the user has finished scrolling through or skipped the whole process, ,he will land on a log in screen/ register screen. What I want to do is, after the user login he will be redirected to a screen where from there the bottom tab navigation needs to appear.

So far I tried using

  tabBarVisible: false,

But the issue is the bottom tab navigation still show up though tabBarVisible is set to false and secondly it also creates an option for the screen I want to hide in the tab screen.