# Wix (/docs/wix)



The Wix integration publishes articles from EarlySEO to your **Wix blog** using the Wix REST API. You will need your Site ID and a Wix API key.

Prerequisites [#prerequisites]

* A Wix site with blog functionality enabled
* **Owner access** to your Wix account (required to generate API keys)
* An EarlySEO account

Setup [#setup]

1. Get your Wix Site ID [#1-get-your-wix-site-id]

1. Log in to [manage.wix.com](https://manage.wix.com)
2. Open your site's dashboard
3. Look at the URL  your Site ID is the UUID in the path:
   `https://manage.wix.com/premium-plan/...?siteId=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`
4. Copy the Site ID

2. Generate a Wix API Key [#2-generate-a-wix-api-key]

1. In your Wix dashboard, go to **Settings - API Keys** (or visit [API Keys Manager](https://manage.wix.com/account/api-keys))
2. Click **Generate API Key**
3. Enable the **Blog** permission (read + write)
4. Copy the API key

3. Create the integration in EarlySEO [#3-create-the-integration-in-earlyseo]

1. Go to **Integrations** in your EarlySEO dashboard
2. Click **Add Integration** and select **Wix**
3. Fill in the form:
   * **Site ID**: the UUID from your Wix dashboard URL
   * **API Key**: your Wix API key
4. Choose a **Publishing Status**:

| Status      | Behavior                           |
| ----------- | ---------------------------------- |
| **Publish** | Articles are published immediately |
| **Draft**   | Articles are saved as drafts       |

5. Click **Create Integration**

Troubleshooting [#troubleshooting]

**Authentication errors**

* Confirm your API key has blog write permissions
* Only **owner accounts** can generate API keys  editor accounts cannot

**Site ID not accepted**

* The Site ID must be a UUID in the format `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`
* Find it in the Wix dashboard URL under the `siteId` query parameter

**Articles not appearing on your Wix site**

* Check **Blog - Posts** in your Wix dashboard
* If publish mode is Draft, posts will be in the Drafts section
