How to add a GitHub profile - data center
Removal notice:
Please note that the URL user and URL user password parameters were removed in 3.4.2. We recommend using profiles to access external data.
Exception:
This article does not apply to the following macros:
Space graph
Graph from table
This article illustrates the process of adding a GitHub profile to any of the Graphviz Diagrams for Confluence macros.
Before you begin:
To add a profile, you need the following:
Personal access token for information about generating a GitHub access token. Refer to GitHub access token for the actual URL to get the access token if you have a GitHub account.
Whitelist the GitHub URL in Confluence configuration settings if Restrict URL access in Graphviz Diagrams for Confluence Configuration is enabled.
Raw URL of the file to be rendered.
Steps
Navigate to CONFLUENCE ADMINISTRATION > General Configuration > CONFIGURATION > Graphviz > Profiles.
Click Add Profile.
Enter a unique profile name in the Profile name text box.
Select GitHub from the options in Profile type.
Enter the relevant URL for GitHub in the URL text box. Example: https://api.github.com/repos.
Enter User and Password credentials required to access the given URL, or enter the access token for your GitHub profile in the Access token text box. Refer to this personal access token article to know how to create your personal access token.
Click Save profile to create the profile.
Need support? Create a request with our support team.
