> ## Documentation Index
> Fetch the complete documentation index at: https://docs.smartsend.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connection

> Connect your WooCommerce store to your Smart Send account

After installing the Smart Send plugin, you need to connect it to your Smart Send account using your API token.

## Connect to Smart Send

1. **Navigate to Smart Send settings**

   Go to **WooCommerce** > **Shipping** and click on **Smart Send** in the submenu.

   <img src="https://mintcdn.com/smartsend/tHPP3jzN6CAHIx-H/images/woocommerce/apitoken/004-menu-shipping-smart-send.jpg?fit=max&auto=format&n=tHPP3jzN6CAHIx-H&q=85&s=92a0c6d1794f606111ec6380132c7d1e" alt="WooCommerce shipping menu with Smart Send option" width="1600" height="1000" data-path="images/woocommerce/apitoken/004-menu-shipping-smart-send.jpg" />

2. **Enter your API token**

   In the Smart Send settings page, enter the API token you received when creating your Smart Send account.

   <Info>
     If you don't have a Smart Send account yet, you can <Link href="https://app.smartsend.io/register">create one here</Link>.
   </Info>

   <img src="https://mintcdn.com/smartsend/tHPP3jzN6CAHIx-H/images/woocommerce/apitoken/005-enter-api-token.jpg?fit=max&auto=format&n=tHPP3jzN6CAHIx-H&q=85&s=38224985b9d3f2d41f37c5470d613aac" alt="Smart Send settings page with API token field" width="1600" height="1000" data-path="images/woocommerce/apitoken/005-enter-api-token.jpg" />

3. **Save your settings**

   Click **Save changes** before validating the API token.

   <Warning>
     You must save the settings before validating the API token, or the validation will fail.
   </Warning>

4. **Validate the API token**

   After saving, click **Validate API Token** to test the connection.

   <img src="https://mintcdn.com/smartsend/tHPP3jzN6CAHIx-H/images/woocommerce/apitoken/006-validate-api-token.jpg?fit=max&auto=format&n=tHPP3jzN6CAHIx-H&q=85&s=72e58438de50922f9ac0c6670eb4d446" alt="API token validation button" width="1600" height="1000" data-path="images/woocommerce/apitoken/006-validate-api-token.jpg" />

5. **Confirm successful connection**

   When the API token is accepted, you'll see a green message: "API Token verified".

   <img src="https://mintcdn.com/smartsend/tHPP3jzN6CAHIx-H/images/woocommerce/apitoken/007-connected-to-smart-send.jpg?fit=max&auto=format&n=tHPP3jzN6CAHIx-H&q=85&s=4aea85ba5a974634d58aa4613c5e7a9a" alt="Successful API token verification message" width="1600" height="1000" data-path="images/woocommerce/apitoken/007-connected-to-smart-send.jpg" />

## Troubleshooting connection issues

### Common errors

**Red error message appears:**

* **Forgot to save settings** - Make sure you clicked "Save changes" before validating
* **Wrong website URL** - Ensure the registered URL in Smart Send matches your store's URL exactly
* **Invalid API token** - Verify you're using the correct token from your Smart Send account

<Warning>
  URLs like `smartsend.io` and `smartsend.dk` are considered different URLs. Make sure the registered URL in your Smart Send account matches your store's domain exactly.
</Warning>

### Getting your API token

If you need to find or create a new API token, start by logging into the <Link href="https://app.smartsend.io">Smart Send platform</Link> <Icon icon="arrow-up-right" size={12} />.

<Steps>
  <Step title="Navigate to API tokens">
    Go to **Settings** > **<Link href="https://app.smartsend.io/api-tokens">API tokens</Link>**
  </Step>

  <Step title="Get token">
    **Create a new token** or copy an existing one
  </Step>

  <Step title="Use the token">
    **Use the token** in your WooCommerce settings
  </Step>
</Steps>

## Next steps

Once successfully connected:

1. [Configure your shipping methods](/integrations/woocommerce/shipping-methods)
2. [Set up pickup points](/integrations/woocommerce/pickup-points) (optional)

Your WooCommerce store is now connected to Smart Send and ready for configuration.
