How to get access token in theme app extension embed blocks

i want to use storefront API to embed blocks but i need access token for it , so how to get access token from my app.

i have confusion i use online access token or offline access token, or where i can store access token to my theme app extension

Hello @Gajera_Harsh

After installing the app, you need to store the AccessToken in your database along with the store name.

If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.