> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getunblocked.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Confluence

> Connect your Confluence spaces to Unblocked

When you connect Unblocked with your Confluence spaces, you'll provide Unblocked with important context on how and why your codebase works. Most importantly, Unblocked will be able to use the details in your Confluence spaces to answer questions you ask it, and it will provide links back to the pages that it used for easy reference.

## Connect your Confluence Site

### Sign in to Unblocked

Whether you sign in with a source code manager or your SSO provider, you first need to authenticate to Unblocked.

Once you've signed in, click **Settings** in the sidebar, then **Data Sources**. Click **Connect Another**, scroll to the documentation section, and select **Confluence**. You'll then be redirected to Confluence and asked to authorize your account with Unblocked.

<img src="https://mintcdn.com/unblocked/MWcrNY_CJjMR-SZM/img/Confluence-authorize.png?fit=max&auto=format&n=MWcrNY_CJjMR-SZM&q=85&s=a9d640061877610b7d7fa788b0a97a64" alt="Confluence-authorize" width="2880" height="1820" data-path="img/Confluence-authorize.png" />

### Connecting Confluence

Once you grant Unblocked access to your Confluence site, you'll be redirected back to Unblocked and prompted to install the Unblocked for Confluence app if you are a Confluence admin.

<img src="https://mintcdn.com/unblocked/MWcrNY_CJjMR-SZM/img/Confluence-get-app.png?fit=max&auto=format&n=MWcrNY_CJjMR-SZM&q=85&s=0802ecf1a278e98a2854c734705c0636" alt="Confluence-app" width="2880" height="1820" data-path="img/Confluence-get-app.png" />

After installing, return to the Unblocked tab and click **Verify Installation** to proceed to the Confluence configuration page to select spaces to share with Unblocked.

## Selecting your Spaces

You have the option to grant access to specific spaces for Unblocked to index and search. You will be best served by granting access to all spaces, but you can always restrict the scope depending on your team's needs. Using [Data Shield](/team-settings/data-shield), you can also set access permissions that determine which content in your Confluence spaces will be used in Unblocked's answers.

<img src="https://mintcdn.com/unblocked/MWcrNY_CJjMR-SZM/img/Confluence-spaces.png?fit=max&auto=format&n=MWcrNY_CJjMR-SZM&q=85&s=30c419e1b48fb09af999bd0e79cb6244" alt="Confluence-Spaces" width="2880" height="1820" data-path="img/Confluence-spaces.png" />

Once you click **Save Settings**, Unblocked will begin referencing the pages in your Confluence spaces in its answers.

<Warning>
  <h4>Troubleshooting: Unable to Connect Unblocked</h4>

  <p>
    If you see the following error message, it means only a Confluence Admin can connect your site to Unblocked. Ask your Confluence Admin to [log in to
    Unblocked](https://getunblocked.com/dashboard/login) and connect your Confluence
    Site.

    <div class="img-outline-nested">
      <img src="https://mintcdn.com/unblocked/Ot7bkvJ2zHKpe7gi/img/Atlassian-connect-error.png?fit=max&auto=format&n=Ot7bkvJ2zHKpe7gi&q=85&s=65114bb6ef2ad86e6eee7c14d291fbee" alt="add-jira-projects" width="1674" height="412" data-path="img/Atlassian-connect-error.png" />
    </div>
  </p>
</Warning>
