You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Use AI tools to integrate Auth for GenAI into your application.
3
+
description: Use AI tools to integrate Auth0 for AI Agents into your application.
4
4
---
5
5
## Introduction
6
-
Building with AI tools that have information and context about Auth for GenAI enables you to accelerate your development workflows. By providing these tools with the right information, you can get instant, context-aware answers and even delegate tasks to AI agents.
6
+
Building with AI tools that have information and context about Auth0 for AI Agents enables you to accelerate your development workflows. By providing these tools with the right information, you can get instant, context-aware answers and even delegate tasks to AI agents.
7
7
8
8
This allows you to:
9
9
10
-
- Ask questions in natural language to get up-to-date answers on how to set up and integrate with Auth for GenAI.
10
+
- Ask questions in natural language to get up-to-date answers on how to set up and integrate with Auth0 for AI Agents.
11
11
- Generate accurate code snippets and get direct links to relevant documentation to help you implement changes faster.
12
12
- Have AI agents read documentation to understand complex requirements and apply them to your codebase.
13
13
@@ -19,35 +19,35 @@ You can provide your AI with targeted information from raw text files (`llms.txt
19
19
- If you need the complete content, you can use the **llms-full.txt** file at `https://auth0.com/ai/docs/llms-full.txt`, which contains the full content of our documentation in a single file.
20
20
- Additionally, you can get a **markdown** version of any individual page. Click **Copy page** at the top of the page or append `.md` to any page URL.
21
21
22
-
We recommend using the Auth for GenAI MCP Server over context files to ensure your AI tools always have access to the most up-to-date information.
22
+
We recommend using the Auth0 for AI Agents MCP Server over context files to ensure your AI tools always have access to the most up-to-date information.
23
23
24
24
### MCP servers
25
25
A more powerful method is connecting your tool to an MCP server. These servers act like a specialized API for your AI, allowing them to search for and read documents or perform actions on your behalf.
26
26
27
27
### Auth0 MCP Server
28
28
The Auth0 MCP Server allows authenticated AI agents to perform actions in your Auth0 tenant, such as creating applications, configuring connections, and more. To learn how to connect your AI tool to the Auth0 MCP Server, read the [Auth0 MCP Server documentation.](https://auth0.com/docs/get-started/auth0-mcp-server)
29
29
30
-
### Auth for GenAI MCP Server
31
-
The Auth for GenAI MCP Server provides read-only access to our complete documentation. Use this server to ask questions and get context-aware answers about integrating with Auth for GenAI. This MCP server helps your AI tools implement the Auth for GenAI functionality.
30
+
### Auth0 for AI Agents MCP Server
31
+
The Auth0 for AI Agents MCP Server provides read-only access to our complete documentation. Use this server to ask questions and get context-aware answers about integrating with Auth0 for AI Agents. This MCP server helps your AI tools implement the Auth0 for AI Agents functionality.
32
32
33
-
The Auth for GenAI MCP Server has the following endpoint metadata:
33
+
The Auth0 for AI Agents MCP Server has the following endpoint metadata:
34
34
35
-
-**Server Name:**Auth for GenAI
35
+
-**Server Name:**Auth0 for AI Agents
36
36
-**Server URL:**`https://auth0.com/ai/docs/mcp`
37
37
-**Transport Type:** HTTP
38
38
39
-
You can also connect your AI tool to the Auth for GenAI MCP Server by following one of our guides.
39
+
You can also connect your AI tool to the Auth0 for AI Agents MCP Server by following one of our guides.
40
40
41
41
<Tabs>
42
42
<Tabtitle="VS Code">
43
-
<Tip>To automatically connect VS Code to the Auth for GenAI MCP Server, click the down arrow icon next to **Copy page** and select **Connect to VS Code**.</Tip>
43
+
<Tip>To automatically connect VS Code to the Auth0 for AI Agents MCP Server, click the down arrow icon next to **Copy page** and select **Connect to VS Code**.</Tip>
44
44
45
45
Or create a `.vscode/mcp.json` file and add:
46
46
47
47
```json
48
48
{
49
49
"servers": {
50
-
"Auth for GenAI": {
50
+
"Auth0 for AI Agents": {
51
51
"type": "http",
52
52
"url": "https://auth0.com/ai/docs/mcp"
53
53
}
@@ -59,7 +59,7 @@ To learn more, read the [VS Code documentation](https://code.visualstudio.com/do
59
59
</Tab>
60
60
61
61
<Tabtitle="Cursor">
62
-
<Tip>To automatically connect Cursor to the Auth for GenAI MCP Server, click the down arrow icon next to **Copy page** and select **Connect to Cursor**.</Tip>
62
+
<Tip>To automatically connect Cursor to the Auth0 for AI Agents MCP Server, click the down arrow icon next to **Copy page** and select **Connect to Cursor**.</Tip>
63
63
64
64
Or follow these steps to connect the MCP server:
65
65
@@ -69,21 +69,21 @@ Or follow these steps to connect the MCP server:
69
69
2. Search for "Open MCP settings".
70
70
3. Select **Add custom MCP**. This will open the `mcp.json` file.
71
71
</Step>
72
-
<Steptitle="Configure the Auth for GenAI MCP Server">
72
+
<Steptitle="Configure the Auth0 for AI Agents MCP Server">
73
73
In `mcp.json`, add:
74
74
75
75
```json
76
76
{
77
77
"mcpServers": {
78
-
"Auth for GenAI": {
78
+
"Auth0 for AI Agents": {
79
79
"url": "https://auth0.com/ai/docs/mcp"
80
80
}
81
81
}
82
82
}
83
83
```
84
84
</Step>
85
85
<Steptitle="Test the connection">
86
-
In Cursor's chat, ask "What tools do you have available?" Cursor should show the Auth for GenAI MCP Server as an available tool.
86
+
In Cursor's chat, ask "What tools do you have available?" Cursor should show the Auth0 for AI Agents MCP Server as an available tool.
To use the Auth0 for AI Agents MCP Server with Claude:
111
111
<Steps>
112
-
<Steptitle="Add the Auth for GenAI MCP Server to Claude">
112
+
<Steptitle="Add the Auth0 for AI Agents MCP Server to Claude">
113
113
1. Navigate to the [Connectors](https://claude.ai/settings/connectors) page in the Claude settings.
114
114
2. Select **Add custom connector**.
115
-
3. Add the Auth for GenAI MCP Server:
116
-
- Name: `Auth for GenAI`
115
+
3. Add the Auth0 for AI Agents MCP Server:
116
+
- Name: `Auth0 for AI Agents`
117
117
- URL: `https://auth0.com/ai/docs/mcp`
118
118
4. Select **Add**.
119
119
</Step>
120
120
<Steptitle="Access the MCP server in your chat">
121
121
1. Use the attachments button (**+**) to add files to your Claude prompt.
122
-
2. Select the Auth for GenAI MCP Server.
123
-
3. Ask Claude a question about Auth for GenAI.
122
+
2. Select the Auth0 for AI Agents MCP Server.
123
+
3. Ask Claude a question about Auth0 for AI Agents.
124
124
</Step>
125
125
</Steps>
126
126
To learn more, read the [Model Context Protocol documentation](https://modelcontextprotocol.io/docs/tutorials/use-remote-mcp-server#connecting-to-a-remote-mcp-server).
127
127
</Tab>
128
128
</Tabs>
129
129
130
-
## How to use the Auth for GenAI Docs MCP server
131
-
After adding the MCP server to your AI tool, you can ask it questions about how to set up, configure, or integrate with Auth for GenAI. AI coding agents will be able to automatically retrieve the matching documentation for steps, references, and examples when applying code changes.
130
+
## How to use the Auth0 for AI Agents Docs MCP server
131
+
After adding the MCP server to your AI tool, you can ask it questions about how to set up, configure, or integrate with Auth0 for AI Agents. AI coding agents will be able to automatically retrieve the matching documentation for steps, references, and examples when applying code changes.
132
132
133
133
### Sample prompts
134
134
Use these sample prompts to get a quick response, start building a new app, or integrate functionality into your existing app:
135
135
136
-
- Use the Auth for GenAI MCP server to tell me about accessing 3rd party APIs using a user's credentials.
137
-
- Add a tool call to my AI agent that will access the user's Google calendar and answer questions about their schedule and meetings. Use the Auth for GenAI MCP Server to find and follow the instructions on using Auth0 to securely call the Google API using the user's credentials.
138
-
- Build me a Next.js AI chatbot app that uses Langgraph to make tool calls to Google Calendar. Use Auth0 for user login and to secure the tool calls to the user's calendar. Use the Auth for GenAI MCP Server for instructions.
136
+
- Use the Auth0 for AI Agents MCP server to tell me about accessing 3rd party APIs using a user's credentials.
137
+
- Add a tool call to my AI agent that will access the user's Google calendar and answer questions about their schedule and meetings. Use the Auth0 for AI Agents MCP Server to find and follow the instructions on using Auth0 to securely call the Google API using the user's credentials.
138
+
- Build me a Next.js AI chatbot app that uses Langgraph to make tool calls to Google Calendar. Use Auth0 for user login and to secure the tool calls to the user's calendar. Use the Auth0 for AI Agents MCP Server for instructions.
139
139
140
140
<Note>Even with access to the most up-to-date documentation, AI tools can make mistakes. Always review AI-generated code for accuracy.</Note>
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
68
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
69
69
70
70
</Card>
71
71
</Columns>
@@ -74,7 +74,7 @@ Auth for GenAI is currently available in Developer Preview. Join today to start
74
74
75
75
<Cardtitle="I am a Heading">
76
76
77
-
Auth for GenAI is currently available in early access. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
77
+
Auth0 for AI Agents is currently available in early access. Join today to start building secure AI agents and provide feedback to shape the platform's future.
78
78
79
79
{""}
80
80
<ahref="/intro">Link to same tab</a>
@@ -86,49 +86,49 @@ Auth for GenAI is currently available in early access. Join today to start build
86
86
87
87
<Cardtitle="I am a Card with a Checked Checkbox"icon="circle-check"horizontal>
88
88
89
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
89
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
90
90
91
91
</Card>
92
92
93
93
<Cardtitle="I am a Card with an Unchecked Checkbox"icon="circle"horizontal>
94
94
95
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
95
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
96
96
97
97
</Card>
98
98
99
99
<Cardtitle="I am a Card with an icon"icon="js"horizontaliconType="solid">
100
100
101
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
101
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
102
102
103
103
</Card>
104
104
105
105
<Cardtitle="I am a Card with an icon with no border"icon="js"horizontaliconType="solid">
106
106
107
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
107
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
108
108
109
109
</Card>
110
110
111
111
<Cardtitle="I am a Card with a CTA"icon="python"horizontaliconType="solid"href="https://auth0.com/bar">
112
112
113
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
113
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
114
114
115
115
</Card>
116
116
117
117
<Cardtitle="I am a Card with a disabled CTA"icon="python"horizontaliconType="solid">
118
118
119
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
119
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
120
120
121
121
</Card>
122
122
123
123
<Cardtitle="I am a Card with a loading CTA state"icon="python"horizontaliconType="solid">
124
124
125
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
125
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
126
126
127
127
</Card>
128
128
129
129
<Cardtitle="I am a Card with tags"icon="js"horizontaliconType="solid">
130
130
131
-
Auth for GenAI is currently available in Developer Preview. Join today to start building secure GenAI applications and provide feedback to shape the platform's future.
131
+
Auth0 for AI Agents is currently available in Developer Preview. Join today to start building secure AI agents and provide feedback to shape the platform's future.
Auth for GenAI enables AI agents to asynchronously authorize users using the [Client-Initiated Backchannel Authentication Flow (CIBA)](https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-initiated-backchannel-authentication-flow). AI agents can work in the background, only notifying the user when needed for critical actions.
12
+
Auth0 for AI Agents enables AI agents to asynchronously authorize users using the [Client-Initiated Backchannel Authentication Flow (CIBA)](https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-initiated-backchannel-authentication-flow). AI agents can work in the background, only notifying the user when needed for critical actions.
13
13
14
14
When you add secure [human-in-the-loop approvals](https://sdk.vercel.ai/cookbook/next/human-in-the-loop) to your AI agent workflows, you can use Auth0 to request the user's permission to complete an authorization request. The AI agent can render [rich authorization data](https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-initiated-backchannel-authentication-flow/user-authorization-with-ciba) in the consent prompt so the user knows exactly what they're authorizing.
Auth for GenAI leverages [Auth0 FGA](https://auth0.com/fine-grained-authorization) to provide fine-grained authorization control for AI agents. As a result, when AI agents use Retrieval Augmented Generation (RAG) to provide sophisticated, relevant responses to user queries, they only have access to authorized data.
13
+
Auth0 for AI Agents leverages [Auth0 FGA](https://auth0.com/fine-grained-authorization) to provide fine-grained authorization control for AI agents. As a result, when AI agents use Retrieval Augmented Generation (RAG) to provide sophisticated, relevant responses to user queries, they only have access to authorized data.
14
14
15
15
By the end of this quickstart, you should have an AI application that can:
0 commit comments