Use your own Shopify app to control which store data Composio can access. This guide walks through the Shopify authorization code flow.
Before you start
You need a Composio project, access to the Shopify Dev Dashboard, and permission to install apps on the store you want to connect. Use a development store for testing.
In Composio, open Auth Configs → Create and select Shopify. Name your config and select Next if prompted. Choose OAuth 2.0, copy the Redirect URI from the form, and leave the tab open. Shopify and Composio must use the same URL.
Part 1: Set up your Shopify app
Step 1: Create and release the app
In the Shopify Dev Dashboard, open Apps → Create app and choose the manual setup option. Give the app a name.
Set App URL to your app’s home page. For a standalone app without a home page, use
https://shopify.dev/apps/default-app-home. Clear Embed app in Shopify admin.Under Allowed redirection URL(s), paste the exact redirect URI from Composio. Leave Use legacy install flow unchecked.
Under API access, choose the scopes your workflow needs. To list products, the example uses
read_products. Some types of customer data require separate approval. Shopify access scopesSelect Create app, then Release. If your app already exists, update these settings under Versions → Create version and release the new version.

Step 2: Copy the client credentials
Open Settings. Under Credentials, copy the Client ID and Client secret. Keep the secret private.

Step 3: Add Composio’s IPs to the allowlist
Shopify is rolling out required allowlists for public apps and custom apps installed outside your organization. Shopify recommends allowlists for apps used only within your organization. Shopify requirements and rollout dates
In the app’s Settings, find IP allowlist and select Manage.
In IP addresses or CIDR ranges, add all four Composio Cloud outbound addresses, one per line. Keep any entries your other Admin API clients need.
Under Test against recent traffic, select Run test. Resolve any blocked traffic you expect to keep.
Turn on Enforce IP allowlist and select Save.
52.72.72.59/32, 54.243.138.89/32, 54.224.131.195/32, 34.233.50.61/32
For self-hosted Composio, use the outbound addresses for your deployment. Current Composio outbound IPs

Part 2: Connect Shopify in Composio
Step 1: Save your auth config
Return to the Shopify OAuth 2.0 form in Composio. Enter your Client ID and Client secret, and confirm that the Redirect URI matches the one in Shopify.

If Composio shows a scope picker, keep the permissions your workflow needs and make sure the released Shopify app version requests them. Select Create Auth Config.
Step 2: Connect your store
Open your saved auth config and select Connect Account. Enter your store’s permanent myshopify.com subdomain. For example, enter your-store for your-store.myshopify.com. Find the permanent domain under Settings → Domains in Shopify.

Select Connect Account again. In Shopify, review the store and requested access, then select Install. If Shopify asks you to approve changed permissions, review them and select Update.

Step 3: Verify the connection
Back in Composio, open Connected Accounts and confirm the store’s status is Active. Run a read-only action your scopes permit, such as listing products. If the action returns HTTP 403 after you enable enforcement, check the Shopify allowlist and the permissions granted to the app.
