Create an app
To use the Shop APIs and SDKs, you need an app in the Dev Dashboard. This guide covers creating an app, configuring scopes, and retrieving your credentials.
The Shop platform is in early access. Features and APIs may change before general availability.
The Shop platform is in early access. Features and APIs may change before general availability.
Anchor to What you'll learnWhat you'll learn
- Create an app in the Dev Dashboard.
- Release a version with the appropriate scopes.
- Retrieve your client ID and client secret.
Anchor to RequirementsRequirements
- A Shopify partner account
Anchor to Step 1: Log in to the Dev DashboardStep 1: Log in to the Dev Dashboard
Go to the Dev Dashboard and log in with your partner account.
Anchor to Step 2: Create an appStep 2: Create an app
- From the Dev Dashboard, create a new app.
- Enter a name and description for your app.
Anchor to Step 3: Release a versionStep 3: Release a version
After you've created your app, you need to release a version. Versions let you configure the scopes and redirect URLs for your app.
- In the sidebar on the left, click Versions.
- Click Release in the top right.
- Under the Access section, click the first Select scopes, then use the dropdown menu to choose Shop App.
- Select the scopes you need from the list.
- In the Redirect URLs section, add the URLs that you want to redirect back to after authentication. Only fully-qualified
httpsURLs are supported. - Click Release.
Anchor to Step 4: Retrieve your credentialsStep 4: Retrieve your credentials
After you've released a version, you can find your credentials on the app's Settings page. You'll need the following values to authenticate with Shop APIs:
- Client ID: Used as the username for Shop Partners API Basic authentication, and as the
apiKeyattribute on Shop SDK components. - Client secret: Used as the password for Shop Partners API Basic authentication.
Store your client secret securely. You'll need it to authenticate with the Shop Partners API.
Store your client secret securely. You'll need it to authenticate with the Shop Partners API.
Anchor to Next stepsNext steps
- Set up the Shop SDK on your storefront.
- Sign in with Shop using the
<shop-login-button>web component and OpenID Connect. - Capture leads on your storefront and collect email addresses from Shop users.
- Save products to a wishlist using the Shop Users API's product list mutations.
- Store metafields on Shop users and read them from Shopify Functions and Checkout UI extensions.