|
| 1 | +--- |
| 2 | +title: Seamlessly adopt New Relic Service catalog with the GitHub integration |
| 3 | +tags: |
| 4 | + - New Relic integrations |
| 5 | + - GitHub integration |
| 6 | +metaDescription: Set up automatic ingestion of your GitHub Dependabot events by using webhook for ongoing ingestion. |
| 7 | +freshnessValidatedDate: 2024-10-29 |
| 8 | +--- |
| 9 | + |
| 10 | + |
| 11 | +Implementing a New Relic Service Catalog can unlock considerable benefits, but it requires considerable time and resources. You have to take care of team orchestration, user provisioning, role assignments, and entity ownership delineation. These create a significant threshold for entry. To ease this challenge, consider an automation solution that capitalizes on existing team configurations and relationships maintained in external systems such as GitHub. This simplifies the initial configuration and accelerates the adoption of the New Relic Service Catalog. |
| 12 | + |
| 13 | +<img |
| 14 | + title="GitHub Integration dashboard" |
| 15 | + alt="GitHub Integration dashboard" |
| 16 | + src="/images/github-integration-screenshot.webp" |
| 17 | +/> |
| 18 | + |
| 19 | +<figcaption> |
| 20 | +After setting up our GitHub integration, see your data of teams, repos and users right out of the box. |
| 21 | +</figcaption> |
| 22 | + |
| 23 | +## Prerequisites [#prerequisites] |
| 24 | + |
| 25 | +Users need to ensure that they're logged in to their GitHub accounts. This needs to be the same GitHub account in which they want to install the GitHub app that New Relic will be providing during installation step. |
| 26 | + |
| 27 | + |
| 28 | +## Set up the GitHub integration [#set-up-github] |
| 29 | + |
| 30 | +Vist <DNT>**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > + Integrations & Agents** > GitHub integration</DNT> tile and follow the below steps to complete the GitHub integration. |
| 31 | + |
| 32 | +<Steps> |
| 33 | +<Step> |
| 34 | + |
| 35 | +## Service Catalog Details [#service-catalog-details] |
| 36 | + |
| 37 | +In this step, you have to enable or disable the Power Service catalog option. This option provides users the ability to import all data related to teams, repositories, pull requests, pull request reviews, and deployments. |
| 38 | + |
| 39 | +Users can enable it for importing all the items mentioned in the Power Service Catalog. Disabling it, users will only be able to import basic information about the teams and repositories. |
| 40 | + </Step> |
| 41 | + |
| 42 | + <Step> |
| 43 | + |
| 44 | +## GitHub Integration [#github-integration] |
| 45 | + |
| 46 | +<img |
| 47 | + title="GitHub Integration dashboard" |
| 48 | + alt="GitHub Integration dashboard" |
| 49 | + src="/images/github-integration-progress.webp" |
| 50 | + /> |
| 51 | + |
| 52 | +Next, click Install. The GitHub App installation page loads. New Relic provides this app to fetch the GitHub account information of a user. |
| 53 | + |
| 54 | +Once the installation is complete, we will see the result page which will dynamically list down the retrieved GitHub data related to teams, repos, pull requests and deployments. It will take some time to fetch the complete inforamtion, hence the page will keep refreshing after every 10 seconds till we've the power service catalog ready. |
| 55 | + |
| 56 | +The result obtained will look like the below: |
| 57 | + |
| 58 | +| Category | Content | |
| 59 | +| --- | --- | |
| 60 | +| Teams | List of teams within the GitHub organization | |
| 61 | +| Repositories | List of repositories owned by the GitHub account | |
| 62 | +| Pull Requests | List of open and closed pull requests | |
| 63 | +| Deployments | List of deployment events | |
| 64 | + |
| 65 | +These list items will be clickable links that will open up new tabs with more information like this below: |
| 66 | +<img |
| 67 | + title="GitHub Integration dashboard" |
| 68 | + alt="GitHub Integration dashboard" |
| 69 | + src="/images/github-integration-success.webp" |
| 70 | +/> |
| 71 | + </Step> |
| 72 | +</Steps> |
| 73 | + |
| 74 | +To learn more about installing GitHub apps to your account, you can visit this site https://docs.github.com/en/apps/using-github-apps/installing-a-github-app-from-github-marketplace-for-your-organizations |
0 commit comments