> For the complete documentation index, see [llms.txt](https://docs.medicare.healthsherpa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.medicare.healthsherpa.com/api-reference/version-1-api-keys/authentication/agent-authentication.md).

# Agent Authentication

Each agent in your agency must have a HealthSherpa Medicare agent account that is associated with your agency account.

See [this guide](https://intercom.help/healthsherpa-medicare-help-center/en/articles/11077791-agency-accounts) to learn how to create agency and downline agent accounts. If you need help, email <medicare-integrations@healthsherpa.com>.

{% hint style="info" %}
**Note:** The email account associated with the agent's HealthSherpa account **must** **match** the `agent_email` you use in API requests
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.medicare.healthsherpa.com/api-reference/version-1-api-keys/authentication/agent-authentication.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.
