> For the complete documentation index, see [llms.txt](https://docs.staffwatch.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.staffwatch.app/getting-started/setup.md).

# Setup and Installation

### Create your account

1. Fill out the required fields on the [registration page](https://panel.staffwatch.app/register) to create your account.
2. After creating your account, login using the email and password you created
3. You should receive a verification email in your inbox within 1-15 minutes
4. Click the link in the verification email to verify your account
5. After verifying your account, you should be able to successfully login

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

{% hint style="warning" %}
Don't forget to check your **spam/junk** folder if you can't find the verification email!
{% endhint %}

### Add your community

1. Open the [Community Manager](https://panel.staffwatch.app/communities) and select **Create Community**
2. Enter the name for your community, and select **FiveM**
3. Click the **Create community** button

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

4. Now, using the community switcher in the top-left, switch to your new community

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

{% hint style="info" icon="note-sticky" %}
**Note:** This guide only covers the basic configurations needed to get StaffWatch running. We recommend exploring all of the controls under **Settings** to fully customize your community's experience!
{% endhint %}

### Add your servers

1. Navigate to the [Manage Servers](https://panel.staffwatch.app/manage-servers) page and select **Create Server**
2. Enter the name of the server, and click the button to create the server
3. After creation, you can hover your mouse over the server secret to reveal it
4. The server secret will be required later to configure the in-game resource

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

{% hint style="danger" %}
**Do not share your server secret with anyone except trusted developers installing the FiveM resource!**
{% endhint %}

### Invite your staff team

Staff members can be added to the panel manually via their StaffWatch usernames, or using Discord permission sync if your community is on an eligible plan. To improve the on-boarding process, you may also want to send your staff members a link to our [Guide for Staff Members](/getting-started/new-users.md).

{% tabs %}
{% tab title="Manually Add Staff (Free/Basic)" %}

1. Ensure the staff member has already created a StaffWatch account.
2. Navigate to the [Manage Staff](https://panel.staffwatch.app/manage-staff) page, and click the **Add Staff Member** button
3. Enter the user's StaffWatch username, and choose a role to assign them
   {% endtab %}

{% tab title="Setup Discord Permission Sync (Premium/Pro)" %}

1. Navigate to the **Manage Community** page and fill in the **Discord Server ID** field.
2. Also set **Enable Discord Permissions Sync** to **Enabled** on this page
3. [Add our Discord Bot](https://discord.com/oauth2/authorize?client_id=1456398852880990314\&permissions=0\&integration_type=0\&scope=bot) to your community's Discord server.
4. Use the `/link` command in the Discord bot and enter your server's access code
5. Edit each role on the [Manage Permissions](https://panel.staffwatch.app/manage-roles) page and ensure the **Discord Role ID** is set
6. Make sure your staff team create a StaffWatch account and link their Discord!
7. Wait up to 10 minutes for permissions to sync.
   {% endtab %}
   {% endtabs %}

{% hint style="info" %}
To speed up the sync process, you can remove the user's staff role in Discord and re-add it after a few seconds. Ensure the user has created a StaffWatch account and linked their Discord under [My Account](https://panel.staffwatch.app/my-account).
{% endhint %}

### Install the integration resource

Navigate to the download page linked below to install the FiveM resource. Follow the instructions available in the [README.md](https://github.com/StaffWatch/StaffWatch-FiveM/blob/main/README.md) file. The installation is the same as all other FiveM resources, just make sure you fill in the required values in the config file.

{% content-ref url="/pages/-MkIjijVTWULAhwkl\_cS" %}
[Downloads](/downloads.md)
{% endcontent-ref %}

### You're all set!

After starting the resource, your server's player count should display in StaffWatch. Once you click on the server in the sidebar, you should be presented with a list of in-game players. At this point the panel should be fully functional, but there are still many other features you can setup under settings.
