---
title: "How to add a GitHub profile - data center"
canonical: "https://support.appfire.com/space/GVIZ/70222134/How%20to%20add%20a%20GitHub%20profile%20-%20data%20center"
format: markdown
---
> Macro (aura-html)

> ❌ **Removal notice:**
> ❌ 
> ❌ Please note that the URL user and URL user password parameters were removed in 3.4.2. We recommend using <span style="color: #000000">profiles </span>to access external data.

> ⚠️ **Exception:**
> ⚠️ 
> ⚠️ <span style="color: #000000">This article does not apply to the following macros:</span>
> ⚠️ 
> ⚠️ - <span style="color: #000000">Space graph</span>
> ⚠️ - <span style="color: #000000">Graph from table</span>

<span style="color: #000000">This article illustrates the process of adding a GitHub profile to any of the </span>*<span style="color: #000000">Graphviz Diagrams for Confluence</span>*<span style="color: #000000"> macros.</span>

> ℹ️ ## <span style="color: #000000">Before you begin:</span>
> ℹ️ 
> ℹ️ <span style="color: #000000">To add a profile, you need the following:</span>
> ℹ️ 
> ℹ️ - [<span style="color: #000000">Personal access token</span>](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)<span style="color: #000000"> </span><span style="color: #000000">for information about generating a </span><span style="color: #000000">GitHub</span><span style="color: #000000"> </span><span style="color: #000000">access token. Refer to </span>[<span style="color: #000000">GitHub access token</span>](https://github.com/settings/tokens)<span style="color: #000000"> </span><span style="color: #000000">for the actual URL to get the access token</span><span style="color: #000000"> if you have a GitHub account.</span>
> ℹ️ - <span style="color: #000000">Whitelist</span><span style="color: #000000"> </span><span style="color: #000000">the GitHub URL in Confluence configuration settings </span><span style="color: #000000">if </span>*<span style="color: #000000">Restrict URL access</span>*<span style="color: #000000"> </span><span style="color: #000000">in </span><span style="color: #000000">Graphviz Diagrams</span><span style="color: #000000"> for Confluence Configuration is enabled.</span>
> ℹ️ - <span style="color: #000000">Raw URL of the file to be rendered. </span>

## <span style="color: #000000">Steps</span>

1. <span style="color: #000000">Navigate to </span>**<span style="color: #000000">CONFLUENCE ADMINISTRATION</span>**<span style="color: #000000"> > </span>**<span style="color: #000000">General Configuration</span>**<span style="color: #000000"> > </span>**<span style="color: #000000">CONFIGURATION</span>**<span style="color: #000000"> > </span>**<span style="color: #000000">Graphviz</span>**<span style="color: #000000"> ></span>**<span style="color: #000000"> Profiles</span>**<span style="color: #000000">.</span>
2. <span style="color: #000000">Click </span>**<span style="color: #000000">Add Profile.</span>**
3. <span style="color: #000000">Enter a unique profile name in the </span>*<span style="color: #000000">Profile name</span>*<span style="color: #000000"> text box. </span>
4. <span style="color: #000000">Select </span>*<span style="color: #000000">GitHub</span>*<span style="color: #000000"> from the options in </span>*<span style="color: #000000">Profile type</span>*<span style="color: #000000">.</span>  
> Macro (inline-media-image)
5. <span style="color: #000000">Enter</span> <span style="color: #000000">the</span><span style="color: #091e42"> </span><span style="color: #000000">relevant</span><span style="color: #091e42"> </span><span style="color: #000000">URL for GitHub in the URL text box. Example: </span>*<span style="color: #000000">https://api.github.com/repos</span>*<span style="color: #000000">.</span>
6. <span style="color: #000000">Enter</span><span style="color: #000000"> </span>*<span style="color: #000000">User</span>*<span style="color: #000000"> </span><span style="color: #000000">and</span><span style="color: #000000"> </span>*<span style="color: #000000">Password</span>*<span style="color: #000000"> </span><span style="color: #000000">credentials required to access the given URL, or enter the </span><span style="color: #000000">access token</span><span style="color: #091e42"> </span><span style="color: #000000">for your GitHub profile in the</span><span style="color: #000000"> </span>*<span style="color: #000000">Access token</span>*<span style="color: #000000"> </span><span style="color: #000000">text box. </span><span style="color: #091e42">Refer to this </span>[<span style="color: #000000">personal access token</span>](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)<span style="color: #000000"> article to know how to create your personal access token. </span>
7. <span style="color: #000000">Click</span><span style="color: #333333"> </span>**Save profile**<span style="color: #000000"> to create the profile.</span>