Shopify Embedded App

I want to create a Shopify app, where Shopify app will redirect to an external portal upon installation and will sync all the store data in the portal. Can anyone help me with the flow?