> 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="/files/9svdfmglfMjZiMf6D2t8" 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="/files/f2jZLzEOo3qioJZArn2P" 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="/files/5zGb2e6RTgMrBNLZFnde" 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="/files/DVeU4jTZIu4MBRKL0Ml0" 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="/files/MFFl0mPOD5BD2dFwLwyw" alt="Screenshot of a MESA ShipStation action step such as Create Order. Spotlight the More options button."><figcaption></figcaption></figure>

<figure><img src="/files/uv0Lqh5mn01HXwR97e73" 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="/files/57yogLKZCKqInY9E6VPP" 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 %}
