> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://1clickwebsite.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Connect Your Own AI Agent to Manage Your Site

Use this guide when you want to give Claude Code, Codex, Cursor, or another AI tool access to manage your 1ClickWebsite site.

## What you need

- Your site URL, such as `https://example.com`
- Your WordPress username or email
- A WordPress application password
- The external agent guide: `https://1clickwebsite.ai/ai-agent-guide`

Your AI tool will not be able to manage the site from the guide link alone. It also needs the site URL, username, and application password for the site you want it to edit.

## How to create a WordPress application password

${frame}[Here's how to create an application password](https://scribehow.com/embed-preview/How_To_Create_An_Application_Password_In_WordPress__5ydZAUMWTQ2UrhQfKC7mtg?as=slides&size=flexible)

1. Open your WordPress dashboard.
2. Go to Users.
3. Hover over your user profile and click Edit.
4. Scroll down to New Application Password Name.
5. Enter a name for your application password, such as `Claude Code`, `Codex`, or `Cursor`.
6. Click Add Application Password.
7. Copy the password that WordPress shows you.

WordPress may display the application password with spaces. That is okay. Your AI tool may remove the spaces when it uses the password.

## What to give your AI tool

Send your AI tool a message like this:

```text
Use this guide to manage my 1ClickWebsite site:
https://1clickwebsite.ai/ai-agent-guide

Site URL: https://example.com
WordPress username: your-email@example.com
WordPress application password: paste-the-application-password-here
```

The AI tool should use the guide to inspect the site, make focused changes, and verify the result.

## Security considerations

For quick edits, you can paste the username and application password into the AI tool when it asks for them.

For a more secure local setup, ask your AI tool to create an environment file that you can paste the credentials into. For example:

```text
SITE_URL=https://example.com
WP_USERNAME=your-email@example.com
WP_APPLICATION_PASSWORD=paste-the-application-password-here
```

Only do this on a device and project folder you trust. Do not commit application passwords to GitHub or share them in public files.

An application password is different from your normal WordPress login password. It is created from your WordPress profile by following the steps above, and it can be revoked later without changing your regular login password.

## How to remove access later

1. Open your WordPress dashboard.
2. Go to Users.
3. Open your user profile.
4. Scroll to Application Passwords.
5. Find the password you created for the AI tool.
6. Click Revoke.

If the AI tool cannot connect, double-check the site URL, username, and application password. If it still does not work, contact support.