# Create AI Agent DID

> ⚠️ **Before you begin...**
>
> Make sure you have configured the [MCP Client as per the setup instructions](/product/getting-started/ai-agents/trust-registry/setup-mcp.md#getting-started).

After the MCP server is running and Claude Desktop (or any MCP Client) is connected, you can ask the agent to create a DID just by typing:

> Hello agent, can you create a DID on cheqd testnet?

{% hint style="success" %}
The agent may ask for human input to run the "create-did" MCP tool, please select "yes" or "allow".
{% endhint %}

<figure><img src="/files/8Xompg1BUl1nyZquKGgB" alt=""><figcaption></figcaption></figure>

## What is happening under the hood?

In the background, Claude is communicating with our MCP Server which relays a request to one of our SDKs, [Credo](/product/sdk/credo.md). Using Credo, the AI Agent creates itself a DID that conforms to the [cheqd DID Method](/product/architecture/adr-list/adr-001-cheqd-did-method.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cheqd.io/product/getting-started/ai-agents/trust-registry/setup-mcp/create-did.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
