Generate API credentials

Depending on the type of app you're building, the process for generating API credentials is slightly different.

Generate private app credentials

Private apps will only function on individual stores, so you don't need to authenticate them through Oauth. You can get Private app credentials through your Partner dashboard or by logging in to any Shopify admin

You can also use this API key to manipulate your store using the API console, without the need for building a fully functional app. Learn more ›

Get credentials through the Partner dashboard:

  1. Log in to your Partners dashboard.

  2. Click Development stores.

  3. Click the name of the store you want to build for.

  4. Click Apps.

  5. Click Private apps.

  6. Click Create private app.

  7. Enter a Title and click Save app.

Your API credentials will de displayed on screen. Treat them like you would any other password, since whoever has access to the API Key has full API access to the store.

Get credentials through the Shopify admin

  1. From your Shopify admin, click Apps (or press G A):

    Apps

  2. Click Private apps.

  3. Click Create private app.

  4. Enter a Title and click Save app.

Your API credentials will de displayed on screen. Treat them like you would any other password, since whoever has access to the API Key has full API access to the store.

Generate public app credentials

The apps you create in your Partners dashboard function as public apps which can be made available for download in Shopify's App Store if you meet the criteria.

  1. Log in to your Partners dashboard.

  2. Click Apps.

  3. Click Create app.

  4. Fill out the form to create your app to set up the basic information and generate your API credentials.

Generate JavaScript Buy SDK credentials

  1. From your Shopify admin, click Buy Button.

  2. In the JavaScript Buy SDK section, click Create extension:

    Create extensions

  3. On the Extensions page, click Create extension.

  4. In the App drop-down menu, select Buy Button, and give it a Title.

  5. Click Create extension.

Your API Key is displayed in the Buy Button extensions section.

API Credentials for the JavaScript Buy SDK cannot be generated from the Partner Dashboard. You will need a staff account on the store you're building for.

Generate iOS and Android Buy SDK credentials

  1. From your Shopify admin, click Buy Button.

  2. In the JavaScript Buy SDK section, click Create extension:

    Create extensions

  3. On the Extensions page, click Create extension.

  4. In the App drop-down menu, select Mobile App, and give it a Title.

  5. Click Create extension.

Your API Key is displayed in the Mobile App extensions section.

API Credentials for the iOS and Android Buy SDK cannot be generated from the Partner Dashboard. You will need a staff account on the store you're building for.