Connecting Shopify

Step-by-step guide to connecting your Shopify store using a custom app

Last updated 4 months ago

Connecting Shopify

Connect your Shopify store to Kalema to publish blog articles directly. This guide walks you through creating a custom app and setting up the integration.

Requirements

  • Admin access: You need admin access to your Shopify store

  • Active Shopify plan: Your store must be on an active plan

  • Custom app development: Must be enabled in store settings

Step 1: Enable Custom App Development

  1. Log into your Shopify admin at admin.shopify.com

  2. Go to Settings β†’ Apps and sales channels

  3. Click Develop apps

  4. Click Allow custom app development if prompted

Step 2: Create a Custom App

  1. Click Create an app

  2. Enter an app name (e.g., "Blog Content Integration")

  3. Select yourself as the developer

  4. Click Create app

Step 3: Configure API Scopes

  1. Go to the Configuration tab

  2. Click Configure Admin API scopes

  3. Under Store content, enable:

    • read_content - Read blogs and articles

    • write_content - Create and publish articles

  4. Click Save

Step 4: Install the App

  1. Go to the API credentials tab

  2. Click Install app

  3. Confirm the installation

Step 5: Get Your Access Token

Important: The token is shown only once!

  1. After installing, click Reveal token once

  2. Copy the Admin API Access Token immediately

The token looks like: shpat_xxxxxxxxxxxxxxxxxxxxxxxx

Step 6: Add Integration in Kalema

  1. Go to Integrations in Kalema

  2. Click Create Integration

  3. Select Shopify as the platform

  4. Fill in the details:

    • Integration Name: A friendly name (e.g., "My Shopify Store")

    • Store URL: Your store URL (e.g., yourstore.myshopify.com)

    • Admin API Access Token: The token you copied

  5. Click Test Connection to verify

  6. Click Save if the test succeeds

Understanding Shopify Blogs

In Shopify, "Blogs" work like categories:

  • Your store can have multiple blogs (e.g., "News", "Tutorials")

  • Articles are published to a specific blog

  • When publishing from Kalema, you select which blog to publish to

Troubleshooting

Error

Solution

Store not found

Check store URL format (use myshopify.com domain)

Authentication failed

Verify the access token is correct

Permission denied

Ensure read_content and write_content scopes are enabled

App not installed

Make sure you clicked "Install app" in Shopify

Publishing Articles

Once connected, you can publish to Shopify from:

  • Blog Projects (Step 11)

  • AutoBlog (Step 7)

Select your Shopify integration, choose a blog, and set publish/draft/scheduled status.

Related Articles