# Installation

RagnaSync installation is handled by our team - you just need to provide your server files and configure your Discord settings.

***

## Installation Service

We handle the technical work, you complete the setup!

### How It Works

1. **Open a support ticket** in our Discord contact channel
2. **Upload your Ragnarok server files** (we'll tell you which ones)
3. **Our team installs RagnaSync** on your server
4. **You receive back:**
   * Fully modified server files
   * Configuration instructions
   * Ready-to-customize setup
5. **Update the configuration** with your Discord settings
6. **Recompile and launch** - you're done!

{% hint style="info" %}
Installation is free for all plans and handled by our support team. After we complete our part, you'll configure your Discord server settings.
{% endhint %}

[Start Installation Request](https://discord.gg/FQjjeaMZK2)

***

## Add the RagnaSync Discord Bot

For your server to communicate with Discord, you need to add our bot to your Discord server.

[Install RagnaSync Bot](https://discord.com/oauth2/authorize?client_id=1220865145513836721)

The bot will request the permissions it needs - just approve them and you're set.

***

## Configure channels.conf

After installation, you'll configure your `channels.conf` file to connect your server to Discord.

### Step 1: Get Your Discord Server ID

1. Right-click on any channel in your Discord server
2. Click **"Copy Link"**
3. Look at the URL - the **first number** is your Server ID

**Example:**

```
https://discord.com/channels/1215013159291846656/1359301736656932976
                              ↑ Server ID          ↑ Channel ID
```

### Step 2: Update Global Settings

Open your `channels.conf` and find the `discord` section. Update it with your Server ID:

```diff
discord: {
    ragnasync_host_name: "ragnasync.com"
-   ragnasync_discord_id: ""
+   ragnasync_discord_id: "1215013159291846656"
    ragnasync_discord_guid: ""
    ragnasync_client_guid: ""
}
```

### Step 3: Get Your Discord Channel IDs

For each in-game channel you want to bridge to Discord, you need the Discord channel ID.

Using the same "Copy Link" method, the **second number** is the Channel ID.

### Step 4: Configure Each Channel

Find the channel you want to bridge in the `channels` section and add the `discord_channel_id`:

```diff
{
    name: "#global"
    alias: "[Global]"
    color: "White"
    type: "CHAN_TYPE_PUBLIC"
    delay: 1000
    autojoin: true
    leave: false
    chat: true
-   // discord_channel_id: "1234567890"
+   discord_channel_id: "1359301736656932976"
},
```

{% hint style="warning" %}
**Don't forget to uncomment!** Remove the `//` prefix to enable the setting.
{% endhint %}

***

## Verify Your Installation

After configuring, recompile your server and start it. You can check the connection status in-game:

```
@syncstatus
```

If connected, you should see a success message. Try sending a message in your bridged channel - it should appear in Discord!

***

## Need Help?

Having trouble with installation or configuration? Our support team is happy to help.

[Contact Support](https://discord.gg/FQjjeaMZK2)


---

# 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.ragnasync.com/getting-started/installation.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.
