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

# Setup Guide

> Step-by-step instructions to install and configure Julius Slack Agent in your workspace

## Prerequisites

Before installing Julius Slack Agent, ensure you have:

* **Julius Account:** An active Julius account with appropriate permissions
* **Slack Workspace Access:** Admin or workspace owner permissions may be
  required
* **Data Connectors (Optional):** Pre-configured data connectors in Julius for
  database access

<Note>
  If your workspace has strict app installation policies, coordinate with your
  IT administrator before proceeding.
</Note>

### Access Control

* Only members of the Julius team can interact with the Slack agent.
* All threads created within Slack will be automatically shared with your Julius team.

<Warning>
  Your Slack workspace email **must** match your Julius account email, and your Julius account must be a member of the Julius team, in order to interact with the Slack agent.
</Warning>

## Installation Steps

<Steps>
  <Step title="Access Julius Settings">
    Navigate to your Data connector settings
    [julius.ai/settings/data\_connectors](https://julius.ai/settings/data_connectors)
  </Step>

  <Step title="Find Slack Integration">
    In the Data Connectors page:

    1. Look for the Integrations section
    2. Click on the **Connect Slack** or **Add to Slack** button
           <img src="https://mintcdn.com/julius-d061c216/vwDHyuzIRdNX5ssn/slack-agent/images/setup-guide/step-1-connect-slack.png?fit=max&auto=format&n=vwDHyuzIRdNX5ssn&q=85&s=c6d436fa267b51e862916fbdb6a7194d" alt="Step 1 - Connect Slack" width="1962" height="240" data-path="slack-agent/images/setup-guide/step-1-connect-slack.png" />
  </Step>

  <Step title="Authorize Julius">
    You'll be redirected to Slack to authorize the integration:

    1. Select your Slack workspace from the dropdown
    2. Review the permissions Julius is requesting
    3. Click **Allow** to grant access

    <Warning>
      We recommend reviewing the permissions Julius is requesting before granting access. Julius only requests permissions for the absolute minimum necessary to function.
    </Warning>
  </Step>
</Steps>

## Configure Slack Settings

After connecting Slack, you can configure your integration settings, including setting a default data connection.

<Steps>
  <Step title="Open Slack Settings">
    Navigate to your Data Connectors page and find the Slack integration under the Integrations section. Click the **Settings** button.

    <img src="https://mintcdn.com/julius-d061c216/vwDHyuzIRdNX5ssn/slack-agent/images/setup-guide/step-2-slack-settings.png?fit=max&auto=format&n=vwDHyuzIRdNX5ssn&q=85&s=ac885b61648e9d7f5c342f3333e15d91" alt="Open Slack Settings" width="1958" height="234" data-path="slack-agent/images/setup-guide/step-2-slack-settings.png" />
  </Step>

  <Step title="Set Default Data Connection">
    In the Slack Integration Settings modal:

    1. Select a **Default Data Connection** from the dropdown - this connector will automatically be used at the beginning of each Slack thread
    2. Optionally, send a test message to verify your integration is working
    3. Click **Done** to save your settings

           <img src="https://mintcdn.com/julius-d061c216/vwDHyuzIRdNX5ssn/slack-agent/images/setup-guide/step-3-slack-settings.png?fit=max&auto=format&n=vwDHyuzIRdNX5ssn&q=85&s=e8b859e4708015de4193af6692b2684c" alt="Slack Integration Settings" width="1042" height="878" data-path="slack-agent/images/setup-guide/step-3-slack-settings.png" />
  </Step>
</Steps>

<Tip>
  Setting a default data connection is especially useful if your team primarily queries one database. Julius will automatically connect to this data source in every new Slack thread, so you can start asking questions right away.
</Tip>

## Try it in Slack

Now that Julius is installed, let's test it out in your Slack workspace!

### Step 1: Invite Julius to a Channel

First, invite Julius to the channel where you want to use it. You can use the `/invite` command:

<img src="https://mintcdn.com/julius-d061c216/wiZ6oUYquHxAW6fx/slack-agent/images/setup-guide/step-1-invite-julius.png?fit=max&auto=format&n=wiZ6oUYquHxAW6fx&q=85&s=f08d8e14c4e49ef0c0301304857c31ab" alt="Step 1 - Invite Julius" width="2326" height="180" data-path="slack-agent/images/setup-guide/step-1-invite-julius.png" />

In any Slack channel, type `/invite @Julius` and press Enter to add Julius to that channel. Once added, Julius will be ready to respond to queries.

### Step 2: Start Querying Julius

Now you're ready to ask Julius questions! Simply @mention Julius and ask your question. Julius will analyze your request and provide results.

<img src="https://mintcdn.com/julius-d061c216/wiZ6oUYquHxAW6fx/slack-agent/images/setup-guide/step-2-query-julius.png?fit=max&auto=format&n=wiZ6oUYquHxAW6fx&q=85&s=43f5ea7cc879df7b9d232561fe6b909d" alt="Step 2 - Query Julius" width="2326" height="182" data-path="slack-agent/images/setup-guide/step-2-query-julius.png" />

<Tip>
  If you've configured data connectors in Julius, they're automatically available in Slack. Julius will intelligently detect which connector to use based on your query.
</Tip>

### Recommended Channel Setup

<Card title="Create a Dedicated Channel" icon="hashtag">
  We recommend creating an **#ask-julius** channel for your team:

  1. Create a new public channel named `#ask-julius`
  2. Add a channel description: "Ask Julius for data analysis and insights"
  3. Invite Julius to the channel
  4. Pin a message with example queries for team reference
</Card>

## Connecting Data Sources

Data connectors configured in Julius are automatically available through the
Slack agent. No additional configuration required.

<Card title="Learn More About Data Connectors in Slack" icon="database" href="/slack-agent/data-connector-access">
  Learn how to reference your connectors by name or type and use automatic connector detection in your queries.
</Card>

## Common Issues & Troubleshooting

<AccordionGroup>
  <Accordion title="Julius not responding in channels">
    **Solution:**

    * Verify Julius is added to the channel (`/invite @Julius`)
    * Ensure you're @mentioning Julius in your message
    * Check if Julius appears in the channel's app list
      * Ensure your slack Email matches your Julius account email
  </Accordion>

  <Accordion title="Can't see data connectors">
    **Solution:** - Confirm data connectors are configured in your Julius account

    * Re-authenticate the Slack integration if needed - Verify your Julius account
      has access to the data sources
  </Accordion>

  <Accordion title="Installation requires admin approval">
    **Solution:** - Contact your Slack workspace administrator - Share Julius's
    security documentation: [julius.ai/security](https://julius.ai/security) -
    Request addition to approved apps list
  </Accordion>

  <Accordion title="Julius says 'No data sources available'">
    **Solution:**

    * Configure data connectors at [julius.ai/settings/data\_connectors](https://julius.ai/settings/data_connectors)
    * Ensure connectors are active and tested
    * Try specifying the exact connector name in your query
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Explore Features" icon="compass" href="/slack-agent/overview">
    Learn about all Julius Slack Agent capabilities
  </Card>

  <Card title="Scheduled Reports" icon="calendar" href="/slack-agent/slack-reports">
    Set up automated reporting
  </Card>
</CardGroup>

***
