how to redirect to custom dynamic url.

When user installs my app it should redirect to a custom dynamic URL. Or is there any webhooks that i can look into to capture install event. [Using shopify extension/ non-embedded app].

Hi,@Srithin

When a user or a merchant installs your app, during the installation process, Shopify does redirect the user/merchant to a specific callback URL that is configured in your app settings. This callback URL is part of the OAuth flow used for app installation and authorization.

After the user or merchant approves the installation of your app, Shopify will redirect them back to the callback URL specified in your app configuration. This callback URL typically handles the final steps of the installation process, such as saving access tokens, setting up webhooks, or initializing the app within the Shopify store.

Is there any way to generate the callback URL dynamically.