# Install the Shopify app

Shopify stores connect through our Shopify app, Fulfillbot-Dropship & Branding. You install it in your Shopify admin, then link it to your Fulfillbot portal account. You can't connect a Shopify store by typing its address in the portal.

## Before you start

- You need permission to install apps in your Shopify store.
- Have your portal sign-in ready. If you don't have an account yet, you can create one while linking.

## 1. Install the app

1. Find Fulfillbot-Dropship & Branding in the Shopify App Store and install it. If the **Stores** page in the portal shows **Connect Shopify**, that button opens the same listing.
2. Shopify asks you to approve the app's access: it reads your products and orders, and creates fulfilments with tracking for the orders we ship.
3. Shopify then opens the app's page in your Shopify admin.

## 2. Link the app to your portal account

1. On the app's page, click **Link to portal**. The portal opens in a new browser tab.
2. Sign in to the portal. If you don't have an account yet, create one from the sign-in page. After you verify your email and sign in in the same browser, the portal takes you back to the linking page.
3. The **Connect Shopify store** page shows which store you're connecting and to which company. Read the warning, then tick the box that confirms you just clicked **Link to portal** in your own Shopify admin.
4. Choose **Import orders from**: **New orders only**, **Last 24 hours**, **Last 7 days** or **Last 30 days**. Orders created in that period that are paid and not fulfilled yet are imported straight away.
5. Click **Confirm**. The **Stores** page opens with your Shopify store on it, and we fetch your orders in the background.
6. Go back to the Shopify tab and reload the app's page. It now shows the company the store is linked to.

![The Connect Shopify store page in the portal, with the warning, the confirmation box and Import orders from](https://docs.rephut.com/images/shopify-link-confirm.png)

The link from **Link to portal** works for 30 minutes. If it has expired, the portal says "This link has expired": go back to the app in Shopify and click **Link to portal** again. **Not now** cancels the linking.

Only confirm a link you started yourself. If someone sent you a linking page, choose **Not now**: confirming would send their store's orders into your account.

## 3. Link your products

Linking the store doesn't link your products. On the **Stores** page, click **Sync products** on your Shopify store's card, then **Manage products** to link each variant to one of your products. See [Link your store products](https://docs.rephut.com/stores/products).

## The app's page in Shopify

Once the store is linked, the app's page in your Shopify admin shows:

- the company the store is linked to, and the masked email of the person who linked it;
- when the store last synced;
- **Notify buyers when shipped**: when it's on, Shopify emails your customer when we add tracking to their order. It's on for every new connection; turn it off if you send your own shipping emails;
- **Open portal**, and links to our privacy policy and terms.

## Reconnect a Shopify store

If your Shopify store's card on the **Stores** page says **Reconnect needed**, we've lost access to the store. Open the app in your Shopify admin: that restores the connection, and the card shows **Connected** again. Then click **Sync now** to fetch orders that came in while we had no access. Tracking that was waiting is sent automatically within about an hour.

## If linking doesn't work

- The portal says "This store is already connected to another account." The store is linked to a different portal account, and a store can belong to one account only. If it's your store, contact your account manager.
- The portal says "This link has expired". Click **Link to portal** in the app again and finish within 30 minutes.
- The app's page still asks you to link the store: reload it after you click **Confirm** in the portal.

To remove the app or unlink the store, see [Disconnect or uninstall](https://docs.rephut.com/shopify/uninstall).
