# Shopify

### Integrating Shopify store is a 2 step process :

1. Create a Custom App in your Shopify Store.
2. Connect Shopify to your Account.

## Step-1: Creating a Custom App

Before we setup integration you need to create a custom app in your Shopify store.

### Selecting "Apps" in Shopify Dashboard

Login to your Shopify store and click on "Apps" in your dashboard.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FDpT7lMqIU7P8t5wXpc6o%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-2856f33d5aa36affa831e16ccfa21e5223e8dd53_1.1%20shopify%20apps.png?alt=media&#x26;token=bc546823-cfb5-424e-9926-c2c949f33ef4" alt=""><figcaption></figcaption></figure>

### Develop Apps

As shown in the image below, click on "Develop apps" on the top of the screen highlighted in the below picture.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FqEf5cB2h6Vf993I6CKdE%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-32ad266663166bfbf3d9938f356a2dab30c9480d_2.1%20Develop%20Apps.png?alt=media&#x26;token=727239de-14d1-4444-bdd1-c38f9cd1b97a" alt=""><figcaption></figcaption></figure>

### Authorize Custom App Development

Then, click on "Allow custom app development" (if you have already enabled this permission then Shopify will take you to Step where you can start creating an app)

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FHKejKit36sllncMOFz1R%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-909b9d22f5914eeb7274da667af617044bceda7f_3.1%20Allow%20custom%20app%20development.png?alt=media&#x26;token=8aaef2a6-3d3b-46ab-8536-2577b245ea60" alt=""><figcaption></figcaption></figure>

### Click on "Create an app"

Select the option as shown in the image below.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FX5cpcHgMvgdWBaS6cDih%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-4eaf3a62590e91a364a4c4ade8c1753e0e950812_4.1%20Create%20an%20App.png?alt=media&#x26;token=c9944fe4-aa81-46c1-8aee-5788fb769bbd" alt=""><figcaption></figcaption></figure>

### App name and email

Enter a name for the app (for example "Marvel's App"), select your email under App developer and click on "Create app"

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2F1b8O2iBH4SiOGuPTKthq%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-9ae5f64f1f7496de46b6c0685d2bb4b0c4defca6_5.1%20Create%20app.png?alt=media&#x26;token=35f101c2-466a-4260-8521-ac1fcff2c881" alt=""><figcaption></figcaption></figure>

### Configuring Admin API scopes

Once you have clicked on "Create app" option (See previous image) it will take you to the page where you will be required to configure Admin API integration.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FS7kjCJPTH6UkpjKK3bUA%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-5ea74254f8aee45efe86b21f67b7fbf81eca60a4_6.1%20Configure%20admin%20API%20scope.png?alt=media&#x26;token=2905db17-5893-4dd0-937f-efebcda09231" alt=""><figcaption></figcaption></figure>

### Read Access

Search/scroll down to the "Orders" and You will need to enable at the very least "read\_orders" access.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FR2HkfEwaRwXdp1rapXM9%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-d229f135626bf7346bcbcb2d971c06e06137700d_7.1%20Orders.png?alt=media&#x26;token=5771b72d-308b-4b99-b513-c6d0eea7970e" alt=""><figcaption></figcaption></figure>

### Enabling Read Product Access

Then, Search/scroll down to the "Products" and You will need to enable at the very least "read\_products" access.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2F6KeU2Qxxc4WtqjZCmY0s%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-a0460bed12ce173ca71862e89cf9a49a3064dbd9_8.1%20Enable%20Read%20Products.png?alt=media&#x26;token=456156f8-78b0-42f9-9849-4d9937a4106a" alt=""><figcaption></figcaption></figure>

### Saving the modifications made to the app

Once you've enabled read access on "Orders and Product", save the app by clicking on the "Save" button on the top right

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FLH8OZnXuFg3Tlw8meUSy%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-1a8e570399465579c8247f6338b1e124f09518ed_9.1%20Save%20settings.png?alt=media&#x26;token=0ca15c93-a3d9-4203-b508-f6231e25f347" alt=""><figcaption></figcaption></figure>

### Installing the App

After saving click on the "Install app" as in the image below.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FC33QVXNbWwmLCEe2SlkK%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-b49f971b6f17c1761663c0c6dfbff7ec2b0da80d_10.1%20Install%20App.png?alt=media&#x26;token=c0a3257d-06a0-4c3e-86e4-a5b2b7ef965c" alt=""><figcaption></figcaption></figure>

### Click on "Install" from the pop up as in the image below

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2F2j3guH34idDUtV8jFl1x%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-c28b81e7559693fd6be09a8847f9c0da5ae72e86_11.1%20Install.png?alt=media&#x26;token=862f8358-7f61-453b-ab8c-442160444729" alt=""><figcaption></figcaption></figure>

### Getting API Access Token

After installing, the "Admin API access token" that you need for the Shopify integration can be found under the API credentials section, click on "Reveal token once" to get access to the token.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FcxRJXgTNMP195xPHV17q%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-3a99c674f40d07ffc8c1935bb8a5a8f83af9753c_12.1%20Reveal%20Token%20once.png?alt=media&#x26;token=a83f2777-b514-4cad-8ec3-f5568820455f" alt=""><figcaption></figcaption></figure>

### Copying the access Token

Copy the "Admin API access token" by clicking on the clipboard icon.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2F8Q1bhpSRRXIMxh3fJPCW%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-6e3bde0e5b6099b00e85946e9039207ff8c22ef8_13.1%20Clipboard%20icon.png?alt=media&#x26;token=3e0de293-3dd1-4314-920c-2a400f4a2da8" alt=""><figcaption></figcaption></figure>

## Step-2: Connecting Shopify to your CRM System

### Connect Tab

After setting up the shopify app, you can go to the Settings->Integration area of your CRM and Click on the "Connect" tab to integrate your Shopify Store.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FxuFA3Gsef7MOfJ6lCG4G%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-71a256d35ec56192c6a9969d4686ed45fcd341d3_14.1%20%20Integration%20-%20Shopify.png?alt=media&#x26;token=bae1290d-5312-45b4-a00f-c7f9ffabd8c5" alt=""><figcaption></figcaption></figure>

### Setting up the Store

Paste the "Admin API access token" you copied in Step-1.14, enter "Name of your Shopify store" and click "Connect"

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FP6YNjKzBcFd0uKRSnbxo%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-68c9c08fb3aaffaf525b0116a251270381f202e4_15.1%20Name%20of%20shopify%20store.png?alt=media&#x26;token=457f4c20-249a-4fb4-9366-1035d228ed0b" alt=""><figcaption></figcaption></figure>

### Your Shopify integration is done!

Come back to the integration area and you will see the shopify store is now connected to your CRM.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2Foc9KD4A2tCcADefLSTt7%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-d96d7d3c4c24afacfeb0652fe69debbf6558f540_16.1%20Shopify%20Integration%20Successful.png?alt=media&#x26;token=0ff25a6b-515a-48b7-bb58-36123d28934a" alt=""><figcaption></figcaption></figure>

### Using different Shopify Elements

Here we can learn how you can manage the store using the advanced feature.

### Workflow Trigger

With workflow triggers, we can set the system to perform several. for example, when customer leaves the store without completing their purchase (see the abandoned checkout option) we can send them exciting offers through email/sms so they can come back and compete their order.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FkitH0mHznd8pFFEdSp6T%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-dd61894591c2f67972d495a802914484ad0f94a5_17.1%20Shopify%20Workflow%20Trigger.png?alt=media&#x26;token=5b907c6c-7311-4374-89ce-9b11a6da6495" alt=""><figcaption></figcaption></figure>

### Workflow Actions -> If/Else Conditions

With if/else conditions we can set specific conditions for the system to run the workflow.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2Fm5LH6caJ2HmKL7ATLHaJ%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-058e6538527638e2e72db49bfaf20400e122a4fb_18.1%20If%20else%20conditions.png?alt=media&#x26;token=b0f44087-31a7-4796-b8c6-4892f167781d" alt=""><figcaption></figcaption></figure>

### Email Builder

With shoping cart element, you can build your

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FbvtatCAnR772giHOfnYo%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-73b7e88f9fb423c24ba838c67fbbeb155ed5fcc9_19.1%20Shopify-Email-Builder.png?alt=media&#x26;token=fcd7418f-7ec8-4b92-a9ab-45dea209fa1c" alt=""><figcaption></figcaption></figure>
