Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Shopify credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDshopify
CategoryE-Commerce
Credential TypeAPI Key

Step 1: Get Your Credentials

1

Log in to your Shopify Admin

Log in to your Shopify Admin at admin.shopify.com.
2

Go to Settings → Apps

Go to Settings → Apps and sales channels → Develop apps.
3

Create an app

Click ‘Create an app’, configure API scopes, and install it.
4

Copy the Admin API access token

Copy the Admin API access token (starts with shpat_).
5

Enter your store subdomain

Enter your store subdomain (e.g. ‘your-store’ from your-store.myshopify.com) in the Store Subdomain field.
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Shopify

Go to Managed Secrets > Add Provider > Shopify.
3

Enter your credentials

Paste your Admin API Access Token into the API Key field, and enter your store subdomain (e.g. your-store) in the Store Subdomain field.
4

Save

Click Save. You’ll receive a grant_id to use with the SDK.

Using in Code

response = await vault.request(
    HttpMethod.GET,
    "https://your-store.myshopify.com/admin/api/YOUR_API_VERSION/products.json",
    grant_id="YOUR_GRANT_ID",
)