# Use GitHub secrets for integration with Dynatrace site reliability workflows

**URL:** <https://community.dynatrace.com/t/use-github-secrets-for-integration-with-dynatrace-site-reliability-workflows/47976>\
**Category:** Automations\
**Tags:** github, site-reliability-guardian\
**Created:** [September 25, 2024, 3:27pm UTC](https://community.dynatrace.com/t/use-github-secrets-for-integration-with-dynatrace-site-reliability-workflows/47976 "2024-09-25T15:27:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manosirigosdyn7](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manosirigosdyn7](https://community.dynatrace.com/u/Manosirigosdyn7)\
**Post date:** [September 25, 2024, 3:27pm UTC](https://community.dynatrace.com/t/use-github-secrets-for-integration-with-dynatrace-site-reliability-workflows/47976/1 "2024-09-25T15:27:33Z")

</div>

Hello i’ve searched everything and nowhere says where i can create secrets foe the integration with github in order to get notified for every change i do in the code from dynatrace. It says we need to complete these secerets in githab&nbsp; DYNATRACE\_URL\_GEN3: ${{ secrets.DYNATRACE\_URL\_GEN3 }}  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ACCOUNT\_URN: ${{ secrets.ACCOUNT\_URN }}  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DYNATRACE\_CLIENT\_ID: ${{ secrets.DYNATRACE\_CLIENT\_ID }}  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DYNATRACE\_SECRET: ${{ secrets.DYNATRACE\_SECRET }}  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DYNATRACE\_SSO\_URL: ${{ secrets.DYNATRACE\_SSO\_URL }}

where do we find each one? Especially&nbsp;DYNATRACE\_URL\_GEN3

Thanks

---

<div class="post-metadata">

**Author:** ![JohannesBraeuer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/johannesbraeuer/32/5357_2.png) [@JohannesBraeuer](https://community.dynatrace.com/u/JohannesBraeuer)\
**Post date:** [September 26, 2024, 5:19am UTC](https://community.dynatrace.com/t/use-github-secrets-for-integration-with-dynatrace-site-reliability-workflows/47976/2 "2024-09-26T05:19:10Z")

</div>

Hello&nbsp;[@Manosirigosdyn7](https://community.dynatrace.com/user/61683)

I need a bit more details to help you.

- Can you please point me to the documentation that describes how to complete the secrets in GitHub? I`m curious where this information is published because it looks that it is misleading.
- The secret details (CLIENT\_ID, SECRET, URN, etc.) you are looking for are required for an OAuth communication. This is however not needed for a GitHub integration. We recommend using GitHub Webhooks instead. Are you planning to integrate GitHub into Dynatrace using Webhooks?&nbsp;[Webhooks documentation - GitHub Docs](https://docs.github.com/en/webhooks)

BR, Johannes

---

<div class="post-metadata">

**Author:** ![Manosirigosdyn7](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manosirigosdyn7](https://community.dynatrace.com/u/Manosirigosdyn7)\
**Post date:** [September 26, 2024, 7:42am UTC](https://community.dynatrace.com/t/use-github-secrets-for-integration-with-dynatrace-site-reliability-workflows/47976/3 "2024-09-26T07:42:11Z")

</div>

Hello Johannes,

what we want is the following:

when for example we make a new commit on github, we want an event to be sent to dynatrace and trigger a workflow. We tried this :&nbsp;[GitHub - Dynatrace/dynatrace-automation-tools · GitHub](https://github.com/Dynatrace/dynatrace-automation-tools)

Thanks

---

<div class="post-metadata">

**Author:** ![JohannesBraeuer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/johannesbraeuer/32/5357_2.png) [@JohannesBraeuer](https://community.dynatrace.com/u/JohannesBraeuer)\
**Post date:** [September 30, 2024, 6:12am UTC](https://community.dynatrace.com/t/use-github-secrets-for-integration-with-dynatrace-site-reliability-workflows/47976/4 "2024-09-30T06:12:25Z")

</div>

Hello&nbsp;[@Manosirigosdyn7](https://community.dynatrace.com/user/61683)&nbsp;  
Thanks. No I understand the use case.

Instead of using the dynatrace-automation-tools, would it be an option for you to ingest the GitHub webhooks on the&nbsp;https://{your-environment-id}.live.dynatrace.com/platform/ingest/v1/events.sdlc&nbsp;endpoint?

- Documentation:&nbsp;[Ingest SDLC events — Dynatrace Docs](https://docs.dynatrace.com/docs/get-started/platform-engineering/pipeline-observability-sdlc-events/pipeline-observability-ingest-sdlc-events)
- GitHub configuration: In GitHub, you need to configure a Webhook as follows:&nbsp;  
 ![JohannesBraeuer_0-1727676703908.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/8/78b0740b8b12f9b561c69c52adbac83f9fef2d0c.png)

Advantage: You don`t need to change your GitHub workflows.

Would this approach work for you?
