---
title: "Get Started - Configuration"
canonical: "https://support.appfire.com/space/SQL/74317867/Get%20Started%20-%20Configuration"
format: markdown
---
> Macro (aura-html)

# Configure SQL for Confluence

After upgrading or [installing](https://appfire.atlassian.net/wiki/spaces/SQL/pages/74322827) SQL for Confluence, navigate to the Global Configuration screen by:

1. Logging in as a user with the **System Administrator **[Global Permission](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html).
2. Selecting **Add-ons** from the **Administration** menu (cog icon: > Macro (inline-media-image)

) at the top right of your screen. Then scroll down to **Bob Swift Configuration** on the left-hand nav bar and choose **SQL Configuration** (see: > Macro (inline-media-image)

)

## Global Configuration

<span style="color: #333333">This </span><span style="color: #333333"> contains global settings that will control the behavior of Data Sources and Data Source Profiles. Once saved, settings provided on this page are applicable to Data Sources and Data Source Profiles configured sitewide.</span>

*<span style="color: #333333">Table:</span>**<span style="color: #333333"> </span>**<span style="color: #333333">configuration options</span>**<span style="color: #333333"> </span>**<span style="color: #333333">explained</span>*


| **Option** | **Default** | **Description** |
| --- | --- | --- |
| Limit rows processed | No limit | <span style="color: #333333">The maximum</span><span style="color: #333333"> </span>**number of rows**<span style="color: #333333"> </span><span style="color: #333333">that will be processed and displayed by SQL macros. This prevents queries that result in a large number of rows from using excessive resources. Individual queries can use the </span>**<span style="color: #333333">limit</span>**<span style="color: #333333"> parameter to override this value. The following options are available for selection:</span><br>- No limit
- 250 - Recommended
- 500
- 1000
- 2500
- 5000
- 10000
- 15000 |
| Limit query time | No limit | <span style="color: #333333">The </span>**number of seconds **<span style="color: #333333">that a query can take before we force a timeout. This prevents queries that take too long from impacting other users. Individual queries can use the </span>**<span style="color: #333333">queryTimeout</span>**<span style="color: #333333"> parameter to override this value. </span><br>> ℹ️ Note, this parameter:
> ℹ️ 
> ℹ️ - <span style="color: #333333">Requires that the target database and JDBC driver support the remote query timeout server configuration option (queryTimeout).</span>
> ℹ️ - <span style="color: #333333">Administrators can limit (or control) who can use this parameter through the use of our </span>[<span style="color: #333333">Macro Security for Confluence</span>](https://appfire.atlassian.net/wiki/spaces/CMSP)<span style="color: #333333"> app</span>. |
| Transaction isolation level | READ_COMMITTED | <span style="color: #333333">Default level used if macro parameter does not specify a specific level. The following options are available for selection:</span><br>- READ_COMMITTED - Default value
- READ_UNCOMMITTED
- REPEATABLE_READ
- None<br>> ℹ️ Note this parameter requires that the target database and JDBC driver support transaction isolation levels. |
| Disable anti-XSS mode | OFF | <span style="color: #333333">Anti-XSS mode reduces exposure to XSS exploits related to SQL add-on macros. By default, the app respects Confluence's global Anti-XSS setting. This configuration allows an administrator to globally turn off anti-XSS mode </span><u><span style="color: #333333">only</span></u><span style="color: #333333"> for the SQL Macro of this app. An alternative is to enable groups or individuals to use the </span>**<span style="color: #333333">disableAntiXss</span>**<span style="color: #333333"> parameter to control this on an individual Macro basis. This may be necessary for queries wanting to produce HTML constructs. </span><br>> ℹ️ Note that **disableAntiXss** parameter use can be controlled by our [Macro Security for Confluence](https://appfire.atlassian.net/wiki/spaces/CMSP) app. |
| Send statistics | ON | <span style="color: #333333">As part of building awesome apps, we sometimes need to gather some basic usage data to continually improve. No private user data is sent. For more details on what data is being sent, please refer to </span>[<span style="color: #333333">this page</span>](https://appfire.atlassian.net/wiki/spaces/SQL/pages/74322790/Analytics+Data)<span style="color: #333333">.</span> |


## Next Step: Understanding Data Sources

With global settings now in place, the next step is to bring you up to speed on Data Sources and Data Source Profiles.

![image](media://0e6fb45f-7bd3-4a20-824d-14e106753c92)