# Discord App

### Installation Link

You can directly login / add the Pagerly Discord App from login page ([Link](https://app.pagerly.io))

### Follow the following steps to setup Pagerly in Discord

<details>

<summary>Step 1 : Go to the <a href="https://app.pagerly.io">login page </a>and invite the Pagerly bot to your discord</summary>

![](/files/mhsTUSI8wUNhtWWQCVG8)

</details>

<details>

<summary>Step 2 : Go to Pagerly App and connect using Sign in to consent Pagerly to access your Account</summary>

</details>

<details>

<summary>Step 3: <strong>Setup Integration</strong> : Click Connect in the Integration Section</summary>

</details>

<figure><img src="/files/fpWGafY5ekZCf4EaLice" alt=""><figcaption></figcaption></figure>

<details>

<summary>Step 4: Choose your Integration : Pagerduty, Opsgenie, Google Calendar</summary>

<img src="/files/1A3hFWUGpyCucfN1dHfh" alt="" data-size="original">

</details>

<details>

<summary>Step 5 : Add API Key and Users who would have access to API key management. Click Add key<br><br><a href="/pages/WygDPxN2aD0PdY5sL7uv">Follow this steps to retreive API Key</a></summary>

<img src="/files/bIW525SuIvdpTNB6Q5vQ" alt="" data-size="original">

</details>

<details>

<summary>Step 6: Click to Add Team and all Information</summary>

1. Team name : This would be your Team Name which be will used to mention current oncall like @Pagerly \<teamname>. Ex @Pagerly devops in below config. Team name should be unique
2. Channel : All your team channels where you want to receive updates whenever oncall is updated/ rotated
3. Your Schedule Id : The schedule you want to sync.[ schedule Id](/how-to-work-with-pagerly/sync-team-schedule-from-tools-pagerduty-opsgenie-etc.md)

</details>

<figure><img src="/files/pU4XQ1npCsACPwroea70" alt=""><figcaption></figcaption></figure>

<details>

<summary>Step 7. Submit Team. Go to your team's channel setup above and use @Pagerly &#x3C;teamname> . You are set to go!</summary>

![](/files/Fut3oWepvEoDxeqFzuXo)\
\
Change your current oncall in Pagerduty/Opsgenie/Google Calendar and you would receie notificaiton in your team's channel

![](/files/UeXEYRV2Cau5uv4f9lF1)

</details>

**We are now ready to test and play with Pagerly for this team**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pagerly.io/how-to-work-with-pagerly/discord-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
