Academy

How to connect Shopify to Alvas

How to connect Shopify to Alvas

Step 1 - Go to Integrations

In Alvas, go to Settings -> Market Integrations or click here.

Guide image

Guide image

Click on the Shopify integration.

Guide image

This opens a pop up, where you need to add a few details.

Guide image

The details that you need to add are a little more thorough than your typical Shopify App.

This is because Alvas is built to handle all your markets at once, this is both for products, customers and localizes links.

You need to add:

  • My Shopify Domain
  • Storefront URL (the localized url that your customers go to when they visit your website)
  • Admin API Access Token
  • Storefront Access Token
  • Product Mapping (more on that later on. Standard is to leave it to the default value)
  • API Selection (more on that later on. Standard is to leave it to the default value)

Start by inputting your My Shopify Domain and Storefront URL.

Guide image

Guide image

Step 2 - Create Custom App in Shopify

Go to your Shopify Admin panel, and click on Settings in the bottom left corner.

Guide image

In settings, go to "Apps and sales channels".

Guide image

Click "Develop apps".

Please note, if you cannot see that button, it's because your profile does not have access to add an App in your Shopify store. In that case, please reach out to your Shopify Admin and ask for access to develop custom apps in Shopify.

Guide image

Click "Create An App"

Guide image

Give it a name like "Alvas".

Guide image

And click "Create app".

Guide image

Now you've created the app and we need to configure access scopes so that you can get your API keys, that needs to be inserted into Alvas.

Step 3 - Configure Admin API Scopes

Start by configuring Admin API Scopes.

Guide image

Search the scope "read_products" and enable it.

Guide image

Search the scope "read_customer_events" and enable it.

Guide image

Search the scope "read_customers" and enable it.

Guide image

Search the scope "read_orders" and enable it.

Guide image

Click "Save".

Guide image

And click "Install app".

Guide image

And click "Install"

Guide image

Now, you need to copy the Admin API key into Alvas. So click "Reveal once" on the Admin API Access token.

Guide image

Once you can see the API Key, copy it.

Guide image

And paste it into Alvas in the Admin API Access Token.

Guide image

Step 4 - Configure Storefront Access Token

Inside the Shopify app you just created, go into "Configuration".

Guide image

Now you should configure the Storefront API Integration. To do so, click on "Configure".

Guide image

Enable the unauthenticated_read_customers.

Guide image

Enable the unauthenticated_read_product_listings.

Guide image

Click "Save".

Guide image

Go to "API credentials".

Guide image

Copy the Storefront API Access Token.

Guide image

Paste it into Alvas in the Storefront API Access Token.

Guide image

Step 5 - Add Integration

Lastly, you should select the Product Mapping for your store.

Select "Product ID", if the global unique identifier for products across your markets is the ID on a product.

Select "Variant SKU", if the SKU on a variant is the global unique identifier for products across your markets.

When selecting the API Selection choose the following:

Select "Admin API" if your My Shopify Domain is the same across all your markets in Shopify.

Select the "Storefront API" if your My Shopify Domain is different across all your markets in Shopify.

When you click "Add" you've successfully added the integration.

Guide image