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

# Share custom SQL queries

> Easily share your custom queries with team members using Superjoin. This guide walks you through the process of sharing saved queries, including inviting users by email and managing access. Follow the steps to ensure your queries are accessible to your team, facilitating collaboration and efficient data analysis.

<Check> Only available on Google Sheets </Check>

## Follow the quickstart guide to get started with Superjoin 🚀

<CardGroup cols={2}>
  <Card title="Quickstart" icon="flag-checkered" iconType="duotone" href="/quickstart">
    Install Superjoin in under a minute and start pulling your data instantly.
  </Card>

  <Card title="Common Issues" icon="life-ring" iconType="duotone" href="/issues-launching-superjoin">
    We've listed down common issues that you might face & how to fix it.
  </Card>
</CardGroup>

## Steps to share queries ✨

<Warning>
  Ensure Superjoin is installed and working before following the rest of the
  guide.
</Warning>

<Steps titleSize="h2">
  <Step title="Go to the saved queries page">
    In the `Queries` tab, click on the `Saved Queries` button.

    <Frame>
      <img src="https://mintcdn.com/superjoin/95T8cmea616drJuC/images/queries/11-saved-queries.png?fit=max&auto=format&n=95T8cmea616drJuC&q=85&s=f96222fcd7bf68a1150ef9f804896edc" width="3024" height="1716" data-path="images/queries/11-saved-queries.png" />
    </Frame>
  </Step>

  <Step title="Share the query">
    * Click on the `3 dots` button on the top right corner of the desired query.
    * Click on `Share Query`.

    <Frame>
      <img src="https://mintcdn.com/superjoin/95T8cmea616drJuC/images/queries/12-share-query.png?fit=max&auto=format&n=95T8cmea616drJuC&q=85&s=44d06041a65b5d517bf05f86ec334660" width="3024" height="1716" data-path="images/queries/12-share-query.png" />
    </Frame>
  </Step>

  <Step title="Add users to invite">
    * Enter the email addresses of the users you wish to share the query with.
    * After entering the email addresses, click on the `Invite` button to add the users to the list.

    <Frame>
      <img src="https://mintcdn.com/superjoin/95T8cmea616drJuC/images/queries/13-invite.png?fit=max&auto=format&n=95T8cmea616drJuC&q=85&s=035aaba48aa2b897c2c9645eea122932" width="3024" height="1716" data-path="images/queries/13-invite.png" />
    </Frame>
  </Step>

  <Step title="Manage access">
    * You can manage the access of the users by selecting the option next to their email address.
      Available options:
    * `Edit`: Can only run and see output of query and edit the saved query itself.

    <Warning>
      User in `Edit` mode will receive Full-Access to the underlying database if not already.
    </Warning>

    * `Run`: Can only run and see output of query.

    <Warning>
      User in `Run` mode will receive Limited-Access to the underlying database if not already.
    </Warning>

    <Warning>
      Click the `Remove` button to remove a user from the list.
    </Warning>

    <Frame>
      <img src="https://mintcdn.com/superjoin/95T8cmea616drJuC/images/queries/14-manage-privileges.png?fit=max&auto=format&n=95T8cmea616drJuC&q=85&s=84198b31b447508b161a670b277000f2" width="3024" height="1714" data-path="images/queries/14-manage-privileges.png" />
    </Frame>
  </Step>

  <Step title="Invite users">
    Click on the `Save Changes` button to invite users to the query.

    <Frame>
      <img src="https://mintcdn.com/superjoin/95T8cmea616drJuC/images/queries/15-save-invite.png?fit=max&auto=format&n=95T8cmea616drJuC&q=85&s=e15ebd7fdb4094d512231b426bdecaa4" width="3024" height="1716" data-path="images/queries/15-save-invite.png" />
    </Frame>
  </Step>
</Steps>
