> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/shipstation.md).

# ShipStation

### Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with ShipStation, you'll need to add your **Key** and **Secret** so that ShipStation is a connected app within MESA.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-7f7a80c5c9ff381dcf1ac7d13f7109e43d9e745c%2Fshipstation-order-updated-credential.png?alt=media" alt="Screenshot of the MESA ShipStation step connection setup, adding your Key and Secret so ShipStation becomes a connected app. Spotlight the Key and Secret credential fields."><figcaption></figcaption></figure>

To locate the **Key** and **Secret**, you can click on **Settings** (gear icon), on the top right hand corner in the ShipStation dashboard.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-aaa16814d9ab9808b0bf8631e9a2a50b3e8d0ac6%2Fshipstation-settings.png?alt=media" alt="Screenshot of the ShipStation dashboard. Spotlight the Settings gear icon in the top right hand corner."><figcaption></figcaption></figure>

Then, click on **Account** and then **API Settings**. You will locate your existing API Key there or you can click to generate an API Key.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-b5e534f43a9c139fabe2ec158580b71ce000ac08%2Fshipstation-api-settings.png?alt=media" alt="Screenshot of the ShipStation Settings, Account API Settings page where you locate or generate an API Key. Spotlight the API Settings section."><figcaption></figcaption></figure>

Copy the value next to **API Key** and paste it into the **Key** field in MESA.

Copy the value next to **API Secret** and paste it into the **Secret** field in MESA.

Lastly, click on **Add Connection** and then you are all set!

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-47ad5d59c6ff14b50e15e6f9a8188aadf5fde071%2Fshipstation-api-keys.png?alt=media" alt="Screenshot of the MESA ShipStation connection form with the API Key pasted into the Key field and the API Secret pasted into the Secret field. Spotlight the Add Connection button."><figcaption></figcaption></figure>

### Configuration <a href="#configuring" id="configuring"></a>

#### Select the Store ID field <a href="#storeid" id="storeid"></a>

For some **ShipStation** actions in MESA, including **Create Order**, **Update Order**, **Create Label for Order** and **Create Label for Shipment**, you will need to fill in the **Store ID** field. This ensures that the order / label is assigned to a specific Shopify store configured in your **ShipStation** account.

First, please ensure that you have [connected ShipStation with MESA](#connect). Then, locate the **More options** button and click it. Select the **Store** checkbox and choose a Store from the drop-down menu. Make sure to save your changes!

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-a6301205f0b73295b133b8db3295607cf99697f4%2Fshipstation-more-options.png?alt=media" alt="Screenshot of a MESA ShipStation action step such as Create Order. Spotlight the More options button."><figcaption></figcaption></figure>

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-76bef5b561ecfac9e384bfcd879dd1af161a7e6d%2Fshipstation-store.png?alt=media" alt="Screenshot of a MESA ShipStation action More options with the Store checkbox enabled. Spotlight the Store drop-down menu."><figcaption></figcaption></figure>

### I don't see my ShipStation workflow activating when I update something in ShipStation? <a href="#triggers" id="triggers"></a>

MESA workflows that contain ShipStation [Triggers](/workflow-builder/triggers.md) (such as **Shipment Created**) will run on a polling system. Meaning, on every hour or whatever the selected frequency is selected in your MESA workflow, MESA will look for any recent activity in ShipStation. As a result, you may not see immediate activity in your MESA workflow until the frequency hits.

In ShipStation triggers, you can find the polling system (Schedule) under **More options**. You can keep the default frequency or adjust it.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-407d5c1ff9d6580b78a90883d94d03cfb8aa3f69%2Fshipstation-schedule%20(3).png?alt=media" alt="Screenshot of a MESA ShipStation trigger More options showing the polling system frequency. Spotlight the Schedule frequency setting."><figcaption></figcaption></figure>

Once the frequency hits, MESA will process every single task that has accrued within the previous timeframe.

{% hint style="info" %}
Please note that available frequencies will differ depending on your MESA billing plan.
{% endhint %}
