# Getting Started

## Linking your ER:LC Server

### 1. Create an ER:LC API Key

<details>

<summary>ER:LC API Key</summary>

ER:LC grants API access as a paid upgrade.

Once in-game, select the **Menu** button at the top right > **Servers** > **Owned Servers** > Select your private server > **Upgrade Packs** > **API Pack**.

<div><figure><img src="/files/NsBw2dP904f2gyt1PbHH" alt=""><figcaption></figcaption></figure> <figure><img src="/files/SCot18NlG2rBZVOHcAFm" alt=""><figcaption></figcaption></figure></div>

Once in your private ER:LC server, open the **Server Info** tab.

Select **Edit Server Settings** > Navigate To **ER:LC API** > Select **Edit** to Copy.

<div><figure><img src="/files/vf97qpXYGM9nJiDcz4Wk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/zB7DmSZcZFNbMopQEqec" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ovF1mzb1dZPSYOMMmbZc" alt=""><figcaption></figcaption></figure></div>

</details>

### 2. Link ER:LC to Sonoran CAD

<details>

<summary>Linking ER:LC to Sonoran CAD</summary>

In the CAD, navigate to **Admin** > **Advanced** > **In-Game Integration** > **ER:LC**

Paste your **ER:LC API Key** into your configured server.

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

</details>

### 3. Link ER:LC Event Webhooks to Sonoran CAD

<details>

<summary>Link ER:LC Event Webhooks to Sonoran CAD</summary>

ER:LC sends Sonoran CAD events for custom commands like traffic stops and vehicle registrations. Additionally, in-game events for robberies, fires, etc. are also sent.

1. Open the **Server Info**
2. Select **Edit Server Settings**
3. Under **ER:LC API** > **Event Log Webhook** > **Edit**
   1. Paste: `https://events.sonoransoftware.com/erlc`

<div><figure><img src="/files/JfwgUH7ZiUlSJvrmHhzp" alt=""><figcaption></figcaption></figure> <figure><img src="/files/cHHM9xM4Fw5Gb0yeGSRO" alt=""><figcaption></figcaption></figure> <figure><img src="/files/FVsf5ZYNccOXJfGE0dca" alt=""><figcaption></figcaption></figure></div>

**Webhook Errors**

The ER:LC API may be experiencing a partial outage—this is common after weekend game updates. If you see a red error when setting the Event Log Webhook, it’s likely due to this issue.

**This outage is on the ER:LC side, not Sonoran CAD.** When we’re notified, we’ll relay the issue to the PRC/ER:LC development team and keep you updated as more information becomes available.

<figure><img src="/files/9vEmkB3nuhq47Qt3LccQ" alt=""><figcaption></figcaption></figure>

</details>

## Linking your Roblox Account

Players must link their Roblox account to their Sonoran account in order to use in-game integrations.

Once linked, the Sonoran account can be used for ER:LC integrations across Sonoran CAD, CMS, and radio.

<details>

<summary>Linking Roblox to Sonoran</summary>

If a user in an ER:LC linked community does not have their Roblox account linked, a red banner will display at the top of the screen. Press the **Link** button to redirect to Roblox and link your account.

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

Pressing **Link** will open up a window to login and link with Roblox:

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

Once linked, refresh and you're finished!

</details>


---

# 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.sonoransoftware.com/cad/integration-plugins/erlc/getting-started.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.
