# How to Give an AI Agent Access to Your Website Without Handing Over Your Login

Canonical: https://figment.so/blog/give-ai-agent-access-to-your-website

Create a separate limited account or a scoped API token for the agent, never your owner login. Each platform below has a role that edits content without touching billing, users or checkout.

**Give an AI agent a separate, limited account or a scoped API token, never your owner login.** Squarespace, Wix, Webflow, WordPress and Shopify each have a built-in role that can edit existing content without changing billing, deleting the site, managing other users or touching checkout. This guide covers only permissions. For the routes an agent uses to reach a site, read [how ChatGPT, Claude, Codex or Cursor can edit an existing website](/blog/can-ai-edit-my-website).

## Which role is the lowest that can edit content on each platform?

| Platform | Lowest useful role | Where to set it |
| --- | --- | --- |
| Squarespace | Website Editor contributor | Settings → Contributors |
| Wix | Custom role with only content-edit permissions | Settings → Roles & Permissions |
| Webflow | Content editor Site role | Workspace or Site settings |
| WordPress | Editor | Users |
| Shopify | Custom role with only the permissions the task needs | Settings → Users → Roles |

**Squarespace.** Invite a contributor under **Settings → Contributors**. The **Website Editor** permission lets a contributor add products, blocks and other content to existing pages, and edit blog posts and events. Squarespace's documentation notes they cannot add new pages, delete pages, add code injection or make style changes ([Squarespace](https://support.squarespace.com/hc/en-us/articles/206537297-Contributor-roles-and-permissions)). Only owners and administrators can send this invitation.

**Wix.** Go to Settings → Roles & Permissions. Assign a predefined role, or build a custom one with only the content-edit permissions the task needs. Wix supports custom roles, so you are not forced to choose between "everything" and "almost nothing" ([Wix](https://support.wix.com/en/article/roles-permissions-overview)). Invite the collaborator by email from the same screen.

**Webflow.** Webflow separates a Workspace role from a Site role. The **Content editor** Site role only edits content, and it cannot design with all features the way the Designer role can ([Webflow](https://help.webflow.com/hc/en-us/articles/33961273067411-Seats-roles-and-permissions-overview)). Assign it to an agent that changes copy or CMS entries, not layout.

**WordPress (self-hosted or WordPress.com).** The built-in roles are Administrator, Editor, Author, Contributor and Subscriber. **Editor** is the lowest role that can edit and publish any existing page or post. Author and Contributor manage only their own posts and cannot touch Pages in core WordPress ([WordPress.org](https://wordpress.org/documentation/article/roles-and-capabilities/)). None of these roles can install plugins, switch themes or manage other users. That needs Administrator.

**Shopify.** From Settings → Users, click Roles and create a custom role with only the permissions the task needs, for example theme or page editing. Shopify describes a role as one that "contains all the granular permissions that a user requires to do that job," assignable individually ([Shopify](https://help.shopify.com/en/manual/your-account/users/roles/manage-roles)). Leave out orders, finances and customer data unless the task needs them.

## How do I invite a separate account for the agent?

Create the account or role first with the narrowest permission set, then send the invite to an email address you control. The agent's tool has no inbox to accept an invitation. Squarespace, Wix, Webflow and Shopify send an email invitation that the new collaborator must accept before access is active. That collaborator is you, signed in separately, or whoever operates the agent's session. Shopify's staff invitations expire after seven days ([Shopify](https://help.shopify.com/en/manual/your-account/users/invite-users)). WordPress creates the user directly from the admin, so check the role before saving.

## How do I revoke access when the work is done?

Revoke it the same day the task finishes. An unused editor account is a standing risk.

- **Squarespace:** Settings → Contributors → remove the contributor.
- **Wix:** Roles & Permissions → remove the collaborator or revoke the role.
- **Webflow:** Workspace or Site settings → remove the member's seat.
- **WordPress:** Users → delete the account or change its role. To revoke an Application Password, remove that one password from the user's profile without touching the login password.
- **Shopify:** Settings → Users → deactivate the staff account or remove the custom role.

## Should the agent use a browser session or an API token?

Use an API token when the platform offers one for the task, and a browser session only when it does not. A token is easier to scope narrowly, easier to revoke without disturbing a person's login, and needs no live signed-in browser.

**Browser agents** (ChatGPT's cloud browser or agent mode, Claude's built-in browser in Cowork, or Claude in Chrome) act as whatever account you sign in inside that browser session. They have no separate identity on the platform, so the account you sign in should already be the limited role above. A browser agent can see and act on anything the signed-in account can reach. OpenAI and Anthropic both publish safety guidance for this, and Anthropic recommends a separate browser profile without access to sensitive accounts ([OpenAI](https://help.openai.com/en/articles/20001280-using-cloud-browser-in-chatgpt), [Anthropic](https://support.claude.com/en/articles/12902428-use-claude-in-chrome-safely)).

**API tokens** are a scoped credential, not a login:

- WordPress Application Passwords authenticate a specific integration without exposing the account's real password ([WordPress](https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/)).
- Shopify custom apps declare specific access scopes, and Shopify's stated principle is to "request only the data your app needs to function" ([Shopify](https://shopify.dev/docs/api/usage/access-scopes)).
- Webflow API scopes come in separate read and write pairs, and its developer docs advise requesting only the scopes an integration needs ([Webflow](https://developers.webflow.com/data/reference/scopes)).
- Wix API keys grant "a custom set of permissions" scoped to specific business data rather than full account control ([Wix](https://dev.wix.com/docs/api-reference/articles/authentication/about-api-keys)).

## Do I still need two-factor authentication?

Yes. Keep 2FA on your own owner account, because that account controls billing, domains and every other user. Where the platform lets you require 2FA for every user, turn it on for the agent's limited account too. Shopify, for example, can enforce two-step authentication across an organization, and it may require it on individual accounts "even if you didn't turn it on yourself" ([Shopify](https://help.shopify.com/en/manual/your-account/users/security/two-step-authentication)). A limited role shrinks the damage an account can do. It does not replace authentication on that account.

## What should I never give an AI agent?

- Your owner or administrator password, on any platform.
- A one-time 2FA code, a recovery code or a passkey.
- Payment method details or billing account access.
- Your domain registrar login or DNS host credentials.
- The personal email account tied to the site's primary owner.
- An API secret or access token pasted into a chat prompt instead of the tool's own secure credential storage.

A content-editing task needs none of these. If a tool asks for one of them to do something as ordinary as updating a page, stop and use a scoped account or token instead.

## Where can I read more?

For what an AI agent can and cannot do once it has access, see [our main guide](/blog/can-ai-edit-my-website). For what each vendor's own AI tools can do, see [Squarespace](/blog/use-ai-with-your-squarespace-website) and [Wix](/blog/use-ai-with-your-wix-website).
