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

# AuthMe

> AuthMe Integration synchronises the player accounts that are registered to your Minecraft Server with the website.

<Warning>AuthMe and your website's MySQL database server **must be the same**!</Warning>

Before connecting AuthMe with your website, make sure you are using the latest official version of AuthMe. For the latest official version of AuthMe, visit: [https://www.spigotmc.org/resources/authmereloaded.6269/](https://www.spigotmc.org/resources/authmereloaded.6269/)

### How can I set up AuthMe for LeaderOS?

<Steps>
  <Step title="Download the plugin and upload it to your server." />

  <Step title="Configure the config.yml.">
    Find **DataSource** section in the config.yml and replace the following values with your MySQL database information.

    <Note>
      AuthMe and the website need to use the same database connection. If you connect them to different databases, synchronization between the website and in-game cannot be achieved.
    </Note>

    ```yaml theme={null}
    DataSource:
        backend: MYSQL
        caching: false
        mysqlHost: REPLACE_WITH_HOST_IPV4
        mysqlPort: 3306
        mysqlUseSSL: false
        mysqlUsername: REPLACE_WITH_USERNAME
        mysqlPassword: REPLACE_WITH_PASSWORD
        mysqlDatabase: REPLACE_WITH_DATABASE_NAME
        mysqlTablename: Accounts
    ```
  </Step>

  <Step title="Restart the server." />
</Steps>
