# Publish your website from n8n, Make or Zapier

> **Short answer:** create a key on the Agents page of your Sitehold account, then add Sitehold as a remote MCP server in your automation tool: paste the MCP URL that comes with the key, choose Streamable HTTP, and use the key as the bearer token.

Automation tools can talk to Sitehold the same way AI assistants do, over MCP. A workflow can then upload a new version of your site, send you the preview link and publish it, for example every morning or whenever a form or spreadsheet changes.

## 1. Create a key

Automations run on their own, often for months, so they use a key instead of a sign-in that can run out.

1. Sign in to your Sitehold account and open **Agents**.
2. Under **Automations, scripts and tools that cannot sign in**, choose **Create a key**.
3. Name it after the workflow, for example "n8n workflow", and choose which sites it may work on and whether it may create sites.
4. Choose **Create key**. Copy the **MCP URL for this key** and the **Bearer token**. The key is shown only once.

The key works until you revoke it on the Agents page. It shows up there as its own agent, so you can see when it was last used and change what it may do.

## 2. Add Sitehold to your tool

### n8n

Add an **MCP Client Tool** node to an AI Agent, or an **MCP Client** node to call one tool directly.

- **Endpoint:** the MCP URL from step 1.
- **Server Transport:** HTTP Streamable.
- **Authentication:** Bearer Auth. Create a credential and paste the key as its token.

### Make

Add an **MCP Client** module and choose **Create a connection**.

- **MCP Server:** choose **+ New MCP Server**.
- **URL:** the MCP URL from step 1.
- **API Key / Access token:** the key.

### Zapier

Go to **Apps**, choose **+ Add connection** and pick **MCP Client**.

- **Server URL:** the MCP URL from step 1.
- **Transport:** Streamable HTTP.
- **OAuth:** No.
- **Bearer Token:** the key.

### Other automation tools

Any tool with an MCP client works the same way: the MCP URL as the server address, Streamable HTTP as the transport, and the key as a bearer token. If the tool only lets you add headers, add `Authorization` with the value `Bearer`, a space and the key.

## 3. Build the workflow

Start with **account_context**: it shows your plan and the sites the key may work on. To put a site online:

1. **deploy** uploads a version and returns a preview link. Pass the files inline or as public URLs, and give every call its own `requestId`.
2. Check or share the preview.
3. **site_publish** puts that version live.

If you turned on approval for a site, publishing answers with a link for you to approve first. Repeat the same call with the same `requestId` once you have.

With an AI agent node (n8n's AI Agent, Make's **Execute an action with AI**), you can also just describe the task, such as "update the opening hours on my bakery site and publish it", and the agent picks the tools.

## Stop a workflow

Revoke the key on the Agents page. It stops working on its next request.
