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

# Confluence

> Use Confluence pages, specs, and decision records as live context in Rocket.new so generated code follows your team's documented standards.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

Connect Confluence and Rocket reads your team's pages, specs, and decision records as context when generating code. Architecture docs, API references, and sprint notes feed directly into the generation process for tighter alignment between docs and code, without copying and pasting.

<Note>
  This connector is only available for **Next.js TypeScript** web build tasks.
</Note>

<Note>
  Confluence is a **workspace-level** connector. Connect it once from Settings and it is available across all tasks.
</Note>

<Divider />

## What you can do

<CardGroup cols={2}>
  <Card title="Build from specs" icon="file-lines">
    Link a product spec, PRD, or technical design doc in Rocket. Rocket reads the requirements and builds exactly what was specced.
  </Card>

  <Card title="Use architecture docs as context" icon="diagram-project">
    Feed your team's API reference, system design, and architecture docs into Rocket so generated code matches your actual patterns.
  </Card>

  <Card title="Sync knowledge base content" icon="book-open">
    Pull Confluence space pages into your app. Turn internal wikis into searchable help centers or onboarding tools.
  </Card>

  <Card title="Align with team standards" icon="check-double">
    Sprint notes, ADRs, and runbooks become context so every output reflects your team's real decisions and conventions.
  </Card>
</CardGroup>

<Divider />

## Before you connect

Confluence uses OAuth via Atlassian, so no API key is required. You authorize Rocket through Atlassian's login screen, then select your cloud instance and Confluence space inside Rocket.

<Warning>
  Rocket can only read pages in the Confluence space you select during the connection flow. To access a different space, disconnect and reconnect with the new space selected.
</Warning>

<Divider />

## Connect Confluence

<Tabs>
  <Tab title="Web Browser">
    You can connect from three places. All do the same thing.

    **Option 1: From chat**

    Type a prompt that references Confluence - for example, `Connect our Confluence space and use the API spec doc when building this feature`. Rocket detects the intent and shows a **Connect** button inline. Click it to open the authorization flow.

    <Frame caption="Confluence connection prompt in chat">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/B-QlmBNAt9bwbW42/images/build-docs/connectors/confluence/web-browser/confluence-chat-light.webp?fit=max&auto=format&n=B-QlmBNAt9bwbW42&q=85&s=bbdcc53e04c21e8854cc28fc81ec775b" alt="Chat showing a Connect button inline after a Confluence prompt." className="theme-image light-image" width="2880" height="1800" data-path="images/build-docs/connectors/confluence/web-browser/confluence-chat-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/B-QlmBNAt9bwbW42/images/build-docs/connectors/confluence/web-browser/confluence-chat-dark.webp?fit=max&auto=format&n=B-QlmBNAt9bwbW42&q=85&s=7822fed083b58a528bc7f081cc804f78" alt="Chat showing a Connect button inline after a Confluence prompt." className="theme-image dark-image" width="2880" height="1800" data-path="images/build-docs/connectors/confluence/web-browser/confluence-chat-dark.webp" />
    </Frame>

    **Option 2: From the Connectors tab**

    Click the **`...`** button in the preview toolbar, then select **Connectors**.

    <Frame caption="Open Connectors from the toolbar">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/Pv1xS2a1Y3tpMudK/images/build-docs/connectors/shared/connectors-tab-open-light.webp?fit=max&auto=format&n=Pv1xS2a1Y3tpMudK&q=85&s=70d644dfa794512e73aaf96a8bacd4d2" alt="Toolbar dropdown with Connectors option highlighted." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/connectors/shared/connectors-tab-open-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/Pv1xS2a1Y3tpMudK/images/build-docs/connectors/shared/connectors-tab-open-dark.webp?fit=max&auto=format&n=Pv1xS2a1Y3tpMudK&q=85&s=e52b6a00d3e5fac491555adefaa3fc74" alt="Toolbar dropdown with Connectors option highlighted." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/connectors/shared/connectors-tab-open-dark.webp" />
    </Frame>

    Click the **Confluence** card, then click **Connect with Confluence**.

    <Frame caption="Confluence card in the Connectors panel">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/B-QlmBNAt9bwbW42/images/build-docs/connectors/confluence/web-browser/confluence-connectors-tab-light.webp?fit=max&auto=format&n=B-QlmBNAt9bwbW42&q=85&s=3927b8a1df800dd509e37983da858c99" alt="Connectors panel showing the Confluence card with a Connect with Confluence button." className="theme-image light-image" width="1801" height="477" data-path="images/build-docs/connectors/confluence/web-browser/confluence-connectors-tab-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/B-QlmBNAt9bwbW42/images/build-docs/connectors/confluence/web-browser/confluence-connectors-tab-dark.webp?fit=max&auto=format&n=B-QlmBNAt9bwbW42&q=85&s=69fbd020cd314689e2281bd667300394" alt="Connectors panel showing the Confluence card with a Connect with Confluence button." className="theme-image dark-image" width="1804" height="480" data-path="images/build-docs/connectors/confluence/web-browser/confluence-connectors-tab-dark.webp" />
    </Frame>

    **Option 3: From workspace Settings**

    <Card title="Connect from workspace Settings" icon="plug" href="/getting-started/workspace/connectors" horizontal arrow="true">
      Connect once from Settings and it is available across all tasks.
    </Card>

    **After clicking Connect with Confluence**

    Atlassian's authorization screen opens. Review what Rocket is requesting access to in Confluence and User, then click **Accept**.

    <Frame caption="Atlassian OAuth authorization screen">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/B-QlmBNAt9bwbW42/images/build-docs/connectors/confluence/oauth-screen.webp?fit=max&auto=format&n=B-QlmBNAt9bwbW42&q=85&s=4b2f9aff18fa70f43e404ded428a5f21" alt="Atlassian OAuth authorization screen showing Rocket requesting access to Confluence." className="theme-image" width="1240" height="1762" data-path="images/build-docs/connectors/confluence/oauth-screen.webp" />
    </Frame>

    Back in Rocket, select your **Atlassian cloud** from the dropdown, then select the **Confluence space** you want to use as context and click **Save**. A green dot appears next to Confluence when the connection is active.

    **Disconnect**

    <Card title="Disconnect a service" icon="plug" href="/getting-started/workspace/connectors#disconnect-a-service" horizontal arrow="true">
      Disconnect or switch spaces from workspace Settings.
    </Card>
  </Tab>

  <Tab title="Mobile App">
    You can connect from two places. Both do the same thing.

    **Option 1: From chat**

    Type a prompt that references Confluence. Rocket shows a **Connect** button inline. Tap it to open the authorization flow.

    **Option 2: From the Connectors tab**

    1. Tap the **More** button in the header.
    2. Tap **Integrations**.
    3. Tap the **Confluence** card, then tap **Connect with Confluence**.

    **After tapping Connect with Confluence**

    Atlassian's authorization screen opens. Review the permissions, then tap **Accept**.

    Back in Rocket, select your **Atlassian cloud** from the dropdown, then select the **Confluence space** you want to use as context and tap **Save**. A green dot appears next to Confluence when the connection is active.
  </Tab>
</Tabs>

<Divider />

## Example prompts

Replace `[CONFLUENCE_URL]` with the link to your Confluence page or space.

| Use case                     | Prompt                                                                                                                      |
| :--------------------------- | :-------------------------------------------------------------------------------------------------------------------------- |
| Build from spec              | `Read our product spec at [CONFLUENCE_URL] and build the described feature with all data models and user flows.`            |
| Use API reference as context | `Use the API reference in our Confluence space when generating the integration layer for this service.`                     |
| Architecture-aligned code    | `Generate the authentication module following the patterns in our architecture doc at [CONFLUENCE_URL].`                    |
| Help center from wiki        | `Turn the FAQ page at [CONFLUENCE_URL] into a searchable help center with category filters.`                                |
| Onboarding from runbook      | `Build an onboarding checklist app using the steps from our new-hire runbook at [CONFLUENCE_URL].`                          |
| Standards enforcement        | `Generate the database schema following the conventions documented in our Confluence data model guide at [CONFLUENCE_URL].` |

<Divider />

## Tips

* **Paste Confluence page URLs directly in chat.** Linking to a specific page gives Rocket focused context. Vague references may pull less relevant content from across the space.
* **Connect the most relevant space.** If your team has multiple Confluence spaces, connect the one that contains the specs and docs closest to what you are building.
* **Specs produce the most accurate code.** The more structured and detailed your Confluence doc, the more precisely Rocket can match your requirements.
* **To switch spaces, reconnect.** You can only connect one Confluence space at a time per workspace. Disconnect and reconnect to switch to a different space.
* **Confluence context is RAG-based.** Rocket retrieves the most relevant content from your space at generation time. It does not load the entire space into every prompt.

<Divider />

## What's next?

<CardGroup cols={2}>
  <Card title="Notion" icon="book" href="./notion">
    Prefer Notion for your docs? Connect Notion as an alternative source of specs and wikis.
  </Card>

  <Card title="Linear" icon="list-check" href="./linear">
    Build directly from Linear tickets alongside your Confluence specs.
  </Card>

  <Card title="Supabase" icon="database" href="./supabase">
    Store app data with Supabase while Confluence provides the documentation context.
  </Card>

  <Card title="GitHub" icon="github" href="./github/overview">
    Push generated code to GitHub to keep it in sync with your team's workflow.
  </Card>
</CardGroup>
