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

# Rootly

> Learn how to connect Rootly to Opal.

With our Rootly integration, you can sync on-call schedules in Opal as a nested group. We will automatically add whoever is currently on-call to all the resources associated with that group so they can effectively diagnose and solve live issues. Once they're no longer on-call, Opal will automatically remove their privileges.

## Supported resources

| Resource                 | Read | Grant and revoke access |
| ------------------------ | ---- | ----------------------- |
| Rootly on-call schedules | ✔️   | ✔️                      |

<Info>
  Opal always syncs access for whoever is currently on-call, including current
  overrides.
</Info>

## 1. Create a Rootly API key

Opal requires a Rootly API key. In your Rootly dashboard, go to **Organization Settings** > **API Keys** > **Generate New API Key**. See the [Rootly API documentation](https://docs.rootly.com/api-reference/overview) for more details.

## 2. Create Rootly App in Opal

In your inventory, click **+ App** and search for **Rootly**. Connect to the **Rootly** native integration and add all necessary information, including the API key you created in step 1.

## 3. Sync your Rootly schedules

You can find your on-call schedules as a group under the **Assets** tab. To sync, click **Import assets** to add your schedules into Opal for management.

<Tip>
  If you're importing schedules after your initial sync, remember to click
  **Sync Items** in the top right hand corner of the **Import assets** tab.
</Tip>
