---
title: "Configure for data center"
canonical: "https://support.appfire.com/space/GVIZ/70222033/Configure%20for%20data%20center"
format: markdown
---
> Macro (aura-html)

<span style="color: #000000">After </span>installing <span style="color: #000000">or updating the app, you can configure the app settings in the Configuration screen. </span>

> ⚠️ <span style="color: #000000">The configuration option is available from version 3.2.</span>

<span style="color: #000000">To navigate to the screen:</span>

1. <span style="color: #000000">Log in as an administrator and select Cog menu</span><span style="color: #000000">*** (***</span>> Macro (inline-media-image)

<span style="color: #000000">***) ***</span><span style="color: #000000">></span><span style="color: #000000">** Manage apps**</span><span style="color: #000000">.</span>
2. <span style="color: #000000">Select </span><span style="color: #000000">*Graphviz*</span><span style="color: #000000"> under the </span><span style="color: #000000">**CONFIGURATION **</span><span style="color: #000000">section in the sidebar to open the Graphviz for Confluence Configuration page.</span>

<span style="color: #000000">The Configuration page provides the following tabs:</span>

- <span style="color: #000000">[Global configuration](#Globalconfiguration)</span>
- <span style="color: #000000">[Configure Graphviz Diagrams for Confluence Server#Templates](#Templates)</span>
- <span style="color: #000000">[Configure Graphviz Diagrams for Confluence Server#Profiles](#Profiles)</span>

# > Macro (anchor)

<span style="color: #000000">Global configuration</span>

![image](media://2f62b6c4-a747-4b4f-aac5-5f89fb2763c9)

<span style="color: #000000">Use the toggle to enable or disable the Global configuration settings.</span>

| **Parameter** | **Default** | **Description** |
| --- | --- | --- |
| <span style="color: #000000">Restrict URL access</span> | <span style="color: #000000">Off</span> | <span style="color: #091e42">This option controls if the macros can access or are restricted from accessing specified URLs. </span><span style="color: #000000">The specified URLs in the macro editors must conform to the Confluence Allowlist; provided, the allowlist is enabled. </span><br><span style="color: #000000">Confluence allows the administrator to turn on allowlist to restrict incoming and outgoing connections to only those connections that are configured in the Allowlist settings. If enabled, the </span><span style="color: #000000">*URL to Graphviz file*</span><span style="color: #000000"> or </span><span style="color: #000000">*URL to UML file*</span><span style="color: #000000"> parameters are also restricted to the URLs that are configured in the Allowlist settings for Confluence only.</span> |
| <span style="color: #000000">Allow JavaScript</span> | <span style="color: #000000">On</span> | <span style="color: #000000">This option controls Javascript usage in the </span><span style="color: #000000">*Graphviz for Confluence*</span>* *<span style="color: #000000">app. Disable this option to restrict execution of JavaScript within the macros. Available since 3.3.</span><br>> ⚠️ <span style="color: #000000">You can also control JavaScript usage on pages that use the </span><span style="color: #000000">*Graphviz for Confluence*</span><span style="color: #000000"> app. Refer to </span>[Macro Security Configuration](https://bobswift.atlassian.net/wiki/spaces/CMSP/pages/558432346/Macro+Security+Configuration+-+4.x)<span style="color: #000000"> to restrict the usage of JavaScript in the </span><span style="color: #000000">*Graphviz*</span><span style="color: #000000"> macros from the Macro Security for Confluence Configuration page</span> |
| <span style="color: #000000">Blacklist domains</span> | <span style="color: #000000">Off</span> | <span style="color: #000000">This option controls whether or not certain domains are blacklisted. By default, this option is disabled for backward compatibility. Available since 3.3.</span><br><span style="color: #000000">If enabled, and if a request from any of these sites is received, an error message is displayed. However, if users still need to access a blacklisted site, they must contact their administrator to disable this option. Click the link named </span><span style="color: #000000">***listed***</span><span style="color: #000000"> (in the description beneath the option) to view a pre-defined list of the most commonly blacklisted domains in a pop-up window. The following sites are blacklisted, by default:</span><br>- <span style="color: #000000">10.0.0.0/8</span>
- <span style="color: #000000">100.64.0.0/10</span>
- <span style="color: #000000">127.0.0.0/8</span>
- <span style="color: #000000">169.254.0.0/16</span>
- <span style="color: #000000">172.16.0.0/12</span>
- <span style="color: #000000">192.168.0.0/16</span>
- <span style="color: #000000">192.0.0.0/24</span>
- <span style="color: #000000">198.18.0.0/15</span>
- <span style="color: #000000">255.255.255.255/32</span>
- <span style="color: #000000">0.0.0.0/32</span>
- <span style="color: #000000">192.0.2.0/24</span>
- <span style="color: #000000">192.88.99.0/24</span>
- <span style="color: #000000">198.51.100.0/24</span>
- <span style="color: #000000">203.0.113.0/24</span>
- <span style="color: #000000">224.0.0.0/4</span>
- <span style="color: #000000">240.0.0.0/4</span> |

# > Macro (anchor)

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

![image](media://2356cfe5-2f1c-4d68-9c3b-c757a609dfea)

<span style="color: #000000">This tab lists all the default templates provided by </span>[Graphviz Diagrams for Confluence](https://appfire.atlassian.net/wiki/spaces/GVIZ). <span style="color: #000000">These templates provide users with a quick start to creating diagrams and the respective macro editors are </span>[pre-configured](https://appfire.atlassian.net/wiki/spaces/GVIZ/pages/70224416) <span style="color: #000000">with these templates.</span>

# > Macro (anchor)

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

<span style="color: #000000">Profiles are a set of basic parameters required to access relevant data from a remote location and render the required graphs on Confluence pages.</span>

<span style="color: #000000">Use profiles to:</span>

- <span style="color: #000000">Allow user authentication as required by some URLs to be hidden from page viewers and editors. Only Confluence administrators have access to this information.</span>
- <span style="color: #000000">Enable macro editors to quickly configure the macros by reusing a shared definition for URL access. </span>
- <span style="color: #000000">Make lesser changes to page contents when base URLs are relocated as relative addressing is used in profiles. </span>
- <span style="color: #000000">Macro configured URL (that is not a full URL) is appended to the profile provided URL. This absolute URL then points to the actual location of the content to be rendered. </span>

![image](media://2204fdd7-0286-45b7-b6a9-661dcb16656e)

<span style="color: #000000">The page displays a list of profiles available for the macros. You can perform the following actions on this page:</span>

- <span style="color: #000000">Click the pencil icon (Edit) to edit the profile details.</span>
- <span style="color: #000000">Click </span>> Macro (inline-media-image)

<span style="color: #000000"> to remove the profile.</span>

<span style="color: #000000">To create a new profile, click </span><span style="color: #000000">**Add Profile**</span><span style="color: #000000"> to open a pop-up window as:</span>

![image](media://c6d9c638-5cf0-462b-8c48-71da885a6f6f)

<span style="color: #000000">The following table provides further details about the profile settings:</span>

| <span style="color: #000000">**Parameter**</span> | <span style="color: #000000">**Description**</span> |
| --- | --- |
| <span style="color: #000000">Profile name</span> | <span style="color: #000000">Enter a name for the profile. Profile names given here are populated in the </span><span style="color: #000000">*Profile*</span>* *<span style="color: #000000">field in the macro editor. </span><br>> ⚠️ <span style="color: #000000">This name must be unique; else, the details specified overwrites the details of the existing profile. This may cause errors in pages where the profile is used.</span> |
| <span style="color: #000000">Profile type</span> | <span style="color: #000000">Specify whether this is a </span><span style="color: #000000">*URL, GitLab, or GitHub *</span><span style="color: #000000">address.</span><span style="color: #091e42"> </span><span style="color: #000000">The default option for this parameter is </span><span style="color: #000000">*URL*</span><span style="color: #000000">.</span> |
| <span style="color: #000000">URL</span> | <span style="color: #000000">Enter the URL of the remote location to be accessed. It is recommended to provide the base URL here. </span><br>> ⚠️ <span style="color: #000000">A raw URL must be provided in the </span><span style="color: #000000">*URL to Graphviz/Diagraph/Graph/PlantUML file*</span><span style="color: #000000"> parameter of the respective macro editor to provide an absolute path to the required file.</span> |
| <span style="color: #000000">User; Password</span> | <span style="color: #000000">Enter the username and password, if required, to access the specified URL. </span><br>> ⚠️ <span style="color: #000000">Specify either the </span><span style="color: #000000">*User*</span><span style="color: #000000"> and </span><span style="color: #000000">*Password*</span><span style="color: #000000"> parameters or the </span><span style="color: #000000">*Access token*</span><span style="color: #000000"> parameter</span>*,*<span style="color: #000000"> as an access token is also a means of user authentication. It is recommended to use either of the user authentication methods but not both.</span> |
| <span style="color: #000000">Access token</span> | <span style="color: #000000">Enter an access token or an API token for the application or service to be connected with. </span><br>> ⚠️ <span style="color: #000000">If this parameter is specified, ensure that the </span><span style="color: #000000">*User*</span><span style="color: #000000"> and </span><span style="color: #000000">*Password*</span><span style="color: #000000"> parameters are left empty. It is recommended to use either of the user authentication methods but not both.</span><br><span style="color: #000000">Each application has its own method of generating tokens. </span>A<span style="color: #000000">ccess tokens</span> <span style="color: #000000">or API tokens are a means of user authentication; so, if mentioned, this token is used for authentication instead of using user credentials.</span><br>- <span style="color: #000000">Tokens are generated for a user after the application or service to be connected verifies the user's credentials. </span>
- <span style="color: #000000">Enter the generated token here for a seamless connection between the app's macros and the application or service.</span><br><span style="color: #000000">Here are some of the links associated with GitLab and GitHub applications to generate a personal access token:</span><br>- <span style="color: #000000">GitLab: Use </span><span style="color: #000000">[this article](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html)</span><span style="color: #000000"> to generate an access token from </span><span style="color: #000000">[https://gitlab.com/profile/personal_access_tokens](https://gitlab.com/profile/personal_access_tokens)</span><span style="color: #000000">.</span>
- <span style="color: #000000">GitHub: Use </span><span style="color: #000000">[this article](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)</span><span style="color: #000000"> to generate an access token from </span><span style="color: #000000">[https://github.com/settings/tokens](https://github.com/settings/tokens)</span><span style="color: #000000">. </span> |
| <span style="color: #000000">URL parameters</span> | <span style="color: #000000">Mention any extra parameters (for the query string) that must be appended to the specified URL here.</span> |
| <span style="color: #000000">Request headers</span> | <span style="color: #000000">Displays the request headers created as per the given information. Request headers are name or value pairs that are added to the request. For example, GitHub requires the following request headers be specified: </span><span style="color: #000000">*Authorization: token $accessToken, Accept:application/vnd.github.v3.raw*</span><br><span style="color: #000000">This field is automatically populated with a comma-separated list of name or value pairs using the provided information. If required, enter additional name or value pairs separated with commas.</span> |

<span style="color: #000000">Click </span>**Save profile**<span style="color: #000000"> to create the profile.</span>

> ℹ️ The **Help us improve the product** parameter was removed. <span style="color: #172b4d">We do not collect or transmit private user data or personally identifiable information. </span>Refer to the [Appfire Trust Center](https://appfire.atlassian.net/wiki/x/TASNNQ) for EULA and other policies.

## <span style="color: #000000">Additional references</span>

<span style="color: #000000">Click any of the following links to learn more about creating profiles:</span>

> Macro (children)