-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Agentic Onboarding RUM #32743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rtrieu
wants to merge
12
commits into
master
Choose a base branch
from
rtrieu/docs-12582-agentic-onboarding-rum
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Agentic Onboarding RUM #32743
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
54291c9
agentic onboarding for browser
rtrieu a996f0e
add to mobile (android,ios,rn)
rtrieu 6d56a5e
remove unnecessary pages
rtrieu 6565782
change link browser
rtrieu 4c91db7
add setup links to main et page
rtrieu b12e730
Merge branch 'master' into rtrieu/docs-12582-agentic-onboarding-rum
rtrieu 95296f2
add agentic onboarding link to et
rtrieu 4357d4c
fix link
rtrieu 8a83a75
Apply suggestions from code review
rtrieu 5c842a6
clean up
rtrieu 737ed64
no react
rtrieu 5a0c79e
update claude instructions
rtrieu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,182 @@ | ||
| --- | ||
| title: Agentic Onboarding Setup | ||
| description: Set up the Datadog MCP server to instrument your frontend applications with coding agents like Cursor or Claude Code. | ||
| further_reading: | ||
|
|
||
| --- | ||
|
|
||
| {{< callout btn_hidden="true" header="Join the Preview!">}} | ||
| Agentic Onboarding is in Preview. | ||
| {{< /callout >}} | ||
|
|
||
| {{< site-region region="gov" >}} | ||
| <div class="alert alert-danger">Agentic Onboarding is not available in the selected site ({{< region-param key="dd_site_name" >}}) at this time.</div> | ||
| {{< /site-region >}} | ||
|
|
||
| ## Overview | ||
|
|
||
| Datadog's Agentic Onboarding allows you to instrument your frontend applications with one prompt using LLM coding agents like [Cursor][1] or [Claude Code][2]. | ||
|
|
||
| Instead of navigating multiple setup steps or searching through documentation, you can instrument your frontend applications for [Error Tracking][3], [Real User Monitoring (RUM)][4], and [Product Analytics][5] in one command. | ||
|
|
||
| With Agentic Onboarding, your coding assistant automatically detects your project's frameworks, add configuration, and provisions required tokens and apps directly from your IDE. | ||
|
|
||
| ## Prerequisites | ||
| ### Supported frameworks | ||
| Agentic Onboarding is available for the following frameworks: Android, Angular, iOS, Next.js, Svelte, Vanilla JS, Vue | ||
|
|
||
| ## Setup | ||
|
|
||
| ### Install the Datadog Onboarding MCP server | ||
|
|
||
| To install the Datadog Onboarding Model Context Protocol (MCP) server, follow the steps below. | ||
|
|
||
| {{< tabs >}} | ||
| {{% tab "Cursor" %}} | ||
| 1. Copy and paste the following deeplink into your browser. | ||
|
|
||
| {{% site-region region="us" %}} | ||
|
|
||
| ```shell | ||
| cursor://anysphere.cursor-deeplink/mcp/install?name=datadog-onboarding-mcp&config=eyJ1cmwiOiJodHRwczovL21jcC5kYXRhZG9naHEuY29tL2FwaS91bnN0YWJsZS9tY3Atc2VydmVyL21jcD90b29sc2V0cz1vbmJvYXJkaW5nIiwidHlwZSI6Im9hdXRoIn0= | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="us3" %}} | ||
| ```shell | ||
| cursor://anysphere.cursor-deeplink/mcp/install?name=datadog-onboarding-us3&config=eyJ1cmwiOiJodHRwczovL21jcC51czMuZGF0YWRvZ2hxLmNvbS9hcGkvdW5zdGFibGUvbWNwLXNlcnZlci9tY3A/dG9vbHNldHM9b25ib2FyZGluZyIsInR5cGUiOiJvYXV0aCJ9 | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="us5" %}} | ||
| ```shell | ||
| cursor://anysphere.cursor-deeplink/mcp/install?name=datadog-onboarding-us5&config=eyJ1cmwiOiJodHRwczovL21jcC51czUuZGF0YWRvZ2hxLmNvbS9hcGkvdW5zdGFibGUvbWNwLXNlcnZlci9tY3A/dG9vbHNldHM9b25ib2FyZGluZyIsInR5cGUiOiJvYXV0aCJ9 | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="eu" %}} | ||
| ```shell | ||
| cursor://anysphere.cursor-deeplink/mcp/install?name=datadog-onboarding-mcp&config=eyJ1cmwiOiJodHRwczovL21jcC5kYXRhZG9naHEuZXUvYXBpL3Vuc3RhYmxlL21jcC1zZXJ2ZXIvbWNwP3Rvb2xzZXRzPW9uYm9hcmRpbmciLCJ0eXBlIjoib2F1dGgifQ== | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="ap1" %}} | ||
| ```shell | ||
| cursor://anysphere.cursor-deeplink/mcp/install?name=datadog-onboarding-ap1&config=eyJ1cmwiOiJodHRwczovL21jcC5hcDEuZGF0YWRvZ2hxLmNvbS9hcGkvdW5zdGFibGUvbWNwLXNlcnZlci9tY3A/dG9vbHNldHM9b25ib2FyZGluZyIsInR5cGUiOiJvYXV0aCJ9 | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="ap2" %}} | ||
| ```shell | ||
| cursor://anysphere.cursor-deeplink/mcp/install?name=datadog-onboarding-ap2&config=eyJ1cmwiOiJodHRwczovL21jcC5hcDIuZGF0YWRvZ2hxLmNvbS9hcGkvdW5zdGFibGUvbWNwLXNlcnZlci9tY3A/dG9vbHNldHM9b25ib2FyZGluZyIsInR5cGUiOiJvYXV0aCJ9 | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{< site-region region="gov" >}} | ||
| <div class="alert alert-danger">Agentic Onboarding is not available in the selected site ({{< region-param key="dd_site_name" >}}) at this time.</div> | ||
| {{< /site-region >}} | ||
|
|
||
| 2. In Cursor, click **Install** for the `datadog-onboarding-mcp` server. | ||
| 3. If the MCP server shows a **Needs login** link, select it and complete the OAuth flow. When prompted, choose **Open** to continue and grant access to your Datadog account. | ||
| 4. After authentication, return to Cursor and confirm that MCP tools appear under the `datadog-onboarding-mcp` server. | ||
|
|
||
| {{% /tab %}} | ||
|
|
||
| {{% tab "Claude Code" %}} | ||
|
|
||
| 1. Open an active Claude Code session with the /mcp command: | ||
|
|
||
| {{% site-region region="us" %}} | ||
| ```shell | ||
| claude mcp add --transport http datadog-onboarding-us1 "https://mcp.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=onboarding" | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="us3" %}} | ||
| ```shell | ||
| claude mcp add --transport http datadog-onboarding-us3 "https://mcp.us3.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=onboarding" | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="us5" %}} | ||
| ```shell | ||
| claude mcp add --transport http datadog-onboarding-us5 "https://mcp.us5.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=onboarding" | ||
| ``` | ||
| {{% /site-region %}} | ||
|
|
||
| {{% site-region region="eu" %}} | ||
| ```shell | ||
| claude mcp add --transport http datadog-onboarding-eu1 "https://mcp.datadoghq.eu/api/unstable/mcp-server/mcp?toolsets=onboarding | ||
| ``` | ||
| {{% /site-region %}} | ||
| {{% site-region region="ap1" %}} | ||
| ```shell | ||
| claude mcp add --transport http datadog-onboarding-ap1 "https://mcp.ap1.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=onboarding" | ||
| ``` | ||
| {{% /site-region %}} | ||
| {{% site-region region="ap2" %}} | ||
| ```shell | ||
| claude mcp add --transport http datadog-onboarding-ap2 "https://mcp.ap2.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=onboarding" | ||
| ``` | ||
| {{% /site-region %}} | ||
| {{< site-region region="gov" >}} | ||
| <div class="alert alert-danger">Agentic Onboarding is not available in the selected site ({{< region-param key="dd_site_name" >}}) at this time.</div> | ||
| {{< /site-region >}} | ||
| 2. Select the MCP server installed in Step 1. You should see a `disconnected - Enter to login` message. Press <kbd>Enter</kbd>. | ||
| 3. When you see the option to authenticate, press <kbd>Enter</kbd>. This brings you to the OAuth screen. | ||
| {{% /tab %}} | ||
| {{< /tabs >}} | ||
| ### Set up your project | ||
| Your AI coding agent can help configure Datadog for your project. When you provide a setup prompt, it: | ||
| - analyzes your project and identifies your project's framework, language, and bundler | ||
| - calls the tool, asking for your permission before it runs | ||
| **Note**: Your coding agent makes changes locally without committing them. | ||
| - applies the configuration changes specified by the tool | ||
| - provides steps to verify that your application is sending telemetry to Datadog | ||
| 1. To get started, copy and paste the following prompt based on the product you want to use into your coding agent (such as Cursor or Claude Code): | ||
| {{< tabs >}} | ||
| {{% tab "Error Tracking" %}} | ||
| ```console | ||
| Add Datadog Error Tracking to my project | ||
| ``` | ||
| {{% /tab %}} | ||
| {{% tab "Real User Monitoring" %}} | ||
| ```console | ||
| Add Datadog Real User Monitoring to my project | ||
| ``` | ||
| {{% /tab %}} | ||
| {{% tab "Product Analytics" %}} | ||
| ```console | ||
| Add Datadog Product Analytics to my project | ||
| ``` | ||
| {{% /tab %}} | ||
| {{< /tabs >}} | ||
| 2. After pasting the prompt, review and accept each action your AI agent proposes to move through the setup process. | ||
| ### Deploy your app to production | ||
| Commmit the changes in your repository and configure the provided environment variables in your production environment. | ||
| [1]: https://cursor.com/ | ||
| [2]: https://claude.ai/ | ||
| [3]: /error_tracking/frontend/ | ||
| [4]: /real_user_monitoring/ | ||
| [5]: /product_analytics/ | ||
| [6]: https://platform.openai.com/docs/guides/text | ||
| [7]: https://github.com/langchain-ai/langgraph | ||
| [8]: https://github.com/vercel/ai-chatbot | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
content/en/real_user_monitoring/application_monitoring/agentic_onboarding.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| title: Agentic Onboarding for RUM | ||
| description: Instrument your frontend application with one prompt using LLM coding agents like Cursor or Claude. | ||
| --- | ||
|
|
||
| {{< include-markdown "agentic_onboarding/setup" >}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have support for React - just not React Native.
Apologies for the confusion on this!