# Elastic Cloud - Datadog Integration - Failing

**URL:** <https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [February 26, 2024, 9:11am UTC](https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100 "2024-02-26T09:11:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![csr1](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@csr1](https://discuss.elastic.co/u/csr1)\
**Post date:** [February 26, 2024, 9:11am UTC](https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100/1 "2024-02-26T09:11:21Z")

</div>

I am trying to integrate Datadog with Elastic Cloud for monitoring the deployments.

But I am getting the below error when following the instructions. Any suggestions:  
Error:  
Your Elastic Cloud credentials are not authorized to query this resource.

Steps: provided by Datadog monitoring:

### To create a read-only Elastic Cloud user:

1. Access all your [Elastic Cloud deployments](https://cloud.elastic.co/deployments).
2. Select your deployment name.
3. Click Manage permissions under Management.
4. Under the Roles tab, create a role by clicking Create role.
5. Enter Datadog-Role in Role name.
6. Enter monitor, read\_slm in Elasticsearch Cluster privileges.
7. Under Indices, enter the indices you want metrics for. In privileges, enter monitor.
8. Click Create role.
9. Go to Users tab.
10. Click Create user.
11. Fill out the form with a username, email, and password.
12. Enter Datadog-Role in Roles under Privileges.
13. Click create user.

### Get your Elastic Cloud deployment URL:

1. Access all your [Elastic Cloud deployments](https://cloud.elastic.co/deployments).
2. Select your deployment.
3. Find Elasticsearch under Applications.
4. Click Copy Endpoint to copy the deployment URL.

Any suggestions.  
CS

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 26, 2024, 3:48pm UTC](https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100/2 "2024-02-26T15:48:31Z")

</div>

Hi @csr1 Welcome to the Community.

First, are you using the Hosted version of Elasic Cloud?

`https://cloud.elastic.co/home`

2nd, the error basically says as I read it is that the role definition the Data Dog needs is not correct.

Since we do not own that Data Dog integration it is unclear what data they are trying to access / pull I think you are going to need to engage them..

Make sure you are clear what Version of the Elastic Stack you are on like 8.12.1 etc.. there have been many changes over the releases.

Something seems Odd. Where are you actually creating the Role looking at the instructions, there are no Manage Permissions on the Manage Deployment Screen of Elastic Cloud, so these whole instructions look odd to me...What exactly are you running?

 ![Screenshot 2024-02-26 at 4.49.32 PM](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e951fe06ac1d14e1375f7472dc26e5575adff2d5.png)

There is nothing called permissions in Kibana Either...

---

<div class="post-metadata">

**Author:** ![csr1](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@csr1](https://discuss.elastic.co/u/csr1)\
**Post date:** [February 26, 2024, 4:07pm UTC](https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100/3 "2024-02-26T16:07:31Z")

</div>

Hi Stephen,  
Thanks for your reply. I am following this guide on the Integration guide from DD. I can and create the roles and permission. You can do that by hitting the "Open" button for kibana. When you can create the roles/users that this page is referring. too. SNip from it below

 ![Screenshot 2024-02-26 160150](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91933d14e114a591043161c3b85dd40fa0d5252d.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 26, 2024, 4:17pm UTC](https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100/4 "2024-02-26T16:17:10Z")

</div>

Ok so in Kibana - Stack Management - Roles

So I suspect it's not the proper definition of the roles and depending on what they're doing, you're going to need to ask Data Dog. I can't tell you what roles you need.

Also, it's a little odd. They're asking you what indices you want to monitor. I'm a little confused by that statement.

I think you're going to need to ask your data dog rep.

---

<div class="post-metadata">

**Author:** ![csr1](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@csr1](https://discuss.elastic.co/u/csr1)\
**Post date:** [February 26, 2024, 4:23pm UTC](https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100/5 "2024-02-26T16:23:18Z")

</div>

@stephenb , sure, thanks, I'll get it via DD team.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 11, 2024, 4:24pm UTC](https://discuss.elastic.co/t/elastic-cloud-datadog-integration-failing/354100/6 "2024-03-11T16:24:12Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
