> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Connect n8n to your Wix Site ## Article: Connect n8n to your Wix Site ## Article Link: https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/integrations/connect-n8n-to-your-wix-site.md ## Article Content: # Connect n8n to Your Wix Site Connect your Wix site to n8n to automate workflows using Wix triggers and actions. For an overview of the Wix n8n integration and what you can do with it, see [About n8n Integration](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/integrations/about-n8n-integration.md). This guide walks you through creating API credentials and configuring n8n to work with your site. After completing this task, you can create workflows that react to events on your Wix site, perform Wix actions, connect to other n8n integrations, and use AI agents to power your automations.
**Important:** Wix n8n nodes are currently community nodes. Before you can use them, you must install the `@wix/n8n-nodes-wix` package. See the n8n guide on [installing community nodes](https://docs.n8n.io/integrations/community-nodes/installation/).## Step 1 | Create an API key in Wix Create an [API key](https://dev.wix.com/docs/api-reference/articles/authentication/about-api-keys.md) in your Wix account with the permissions needed for the triggers and actions you want to use. To create an API key: 1. Go to the [API Keys Manager](https://manage.wix.com/account/api-keys) in your Wix account. 2. Click **Create API Key**. 3. Enter a name for your API key, such as "n8n Integration". 4. Select the permissions for the APIs you want to access. The permissions you need depend on which triggers and actions you plan to use. For example: - For product operations, select **Wix Stores** permissions. - For order operations, select **Wix eCommerce** permissions. 5. Click **Create**. 6. Copy and securely store your API key. You can't view it again.
__Important:__ Store your API key securely and never expose it in frontend code.## Step 2 | Find your site ID Locate the ID of the Wix site you want to connect to n8n. To find your site ID: 1. Go to your [site's dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fhome). 2. Check the URL in your browser. The site ID appears after `/dashboard/` in the URL. For example, in `https://manage.wix.com/dashboard/12345678-1234-1234-1234-123456789012/home`, the site ID is `12345678-1234-1234-1234-123456789012`. Alternatively, you can use the [Query Sites](https://dev.wix.com/docs/api-reference/account-level/sites/sites/query-sites?apiView=SDK.md) API to retrieve all site IDs associated with your account. ## Step 3 | Configure Wix credentials in n8n Add your Wix API credentials to n8n to authenticate your workflows. To configure credentials: 1. In n8n, go to **Settings > Credentials**. 2. Click **Add Credential**. 3. Search for and select **Wix API**. 4. Enter your credentials: - **API Key**: Paste the API key you created in Step 1. - **Site ID**: Paste the site ID you found in Step 2. 5. Click **Save**. ## Step 4 | Test the connection Verify that your credentials are working by creating a simple workflow. To test the connection: 1. Create a new workflow in n8n. 2. Add a Wix node to the canvas. 3. When configuring the node, select your saved Wix API credentials. 4. Browse the available resources and operations to see what actions you can perform. 5. Select an operation and click **Test step** to execute it. If the connection is successful, you see results from your Wix site. ## See also - [About n8n Integration](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/integrations/about-n8n-integration.md) - [About API Keys](https://dev.wix.com/docs/rest/articles/authentication/about-api-keys.md)