## Connection

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.

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

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.

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!

## Configuration

### Select the Store ID field

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](https://docs.getmesa.com/connect/shipstation#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!

## I don't see my ShipStation workflow activating when I update something in ShipStation?

MESA workflows that contain ShipStation [Triggers](https://docs.getmesa.com/workflow-builder/triggers) (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.

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

Please note that available frequencies will differ depending on your MESA billing plan.
