# Quick start

> Connect a Minecraft server and let authenticated Java and Bedrock players join through one public address.

This page takes you from a running Minecraft server or network to a public Connect address that players can join.

> **Prerequisites:**
>
> - You have a Minecraft server running anywhere (locally or remote).
> - You have a Java client, a Bedrock client signed in to Microsoft/Xbox, or an offline Java client for testing an
>   endpoint that explicitly allows offline players.

## Start from the Connect Dashboard **Optional**

The dashboard has its own guided quick start: https://app.minekube.com

To set up without the dashboard, follow the steps below.
You can import your endpoints into the dashboard later to manage them.

## Step 1: Choose a Connector

Connectors are the link between your Minecraft Endpoints and the Connect Network.

See the [available Connectors](https://connect.minekube.com/guide/connectors/#available-connectors).

## Step 2: Install and start your Connector

- **Paper, Spigot, Velocity or BungeeCord:** download the jar for your platform from [Downloads](https://connect.minekube.com/guide/downloads),
  put it in the server's `plugins` folder and restart the server.
- **Gate:** Connect is built in. Turn it on in Gate's config, see the [Gate connector](https://connect.minekube.com/guide/connectors/gate).
- **Required on Minecraft 1.19 and newer:** turn off `enforce-secure-profile` (Paper/Spigot `server.properties`) or
  `force-key-authentication` (Velocity), otherwise players cannot join through Connect.
  [Why this is needed](https://connect.minekube.com/guide/downloads#disabling-enforce-secure-player-profiles-required).

When the server starts, the console prints your public address, for example `live-beru.play.minekube.net`.
The first time the Connector starts, it protects the endpoint with a token,
which you can reset in the dashboard at any time.

If you run into problems, [get help](#getting-help) on Discord.

## Done

Your Minecraft server is now protected by the Connect Network and players can join it
at `<endpoint>.play.minekube.net`!

Java and Bedrock players use the same endpoint address. Bedrock support is handled by
the Connect edge for Connect-routed players, so Paper/Spigot, Velocity, and BungeeCord
plugin users do not need to install Geyser or change Gate Bedrock settings.

> **What works with the normal setup:**
>
> - Authenticated Java players can join.
> - Microsoft/Xbox-authenticated Bedrock players can join with or without a linked Java account.
> - Offline/cracked Java players require the endpoint owner to opt in.
> - Bedrock players without valid Microsoft/Xbox authentication cannot join the managed Bedrock path.
>
> See [Join your server](https://connect.minekube.com/guide/joining#who-can-join) for the complete address, port, identity, and configuration matrix.

**Next step:** import your endpoints into the Connect Dashboard to manage them.

## Getting help

If you need help, join the Minekube Community Discord
and post a support request in the **#support** forum.

-> https://minekube.com/discord

> **Endpoint token:**
>
> If you get an authentication error from the Watch service, check that the token your Connector uses
> still matches the token stored for this endpoint in the Dashboard. Resetting the token in the
> Dashboard invalidates the previous token immediately, so a Connector that keeps using the old one
> keeps failing with the same error until you place the new token and restart it.
>
> The token belongs in the Connector's **token file**, never in the Connector config that holds the
> endpoint *name*: the [Gate connector](https://connect.minekube.com/guide/connectors/gate) reads `connect.json` next to its
> config, the [Java plugin](https://connect.minekube.com/guide/connectors/plugin#endpoint-token) reads `token.json` in its data
> directory, and both accept the `CONNECT_TOKEN` environment variable, which takes precedence over the
> file. Copy the token byte-for-byte: a trailing space or newline is a different token.
>
> If the endpoint name belongs to an organization, the token must have been created for this endpoint
> name inside that organization. A token from another organization, or for a different endpoint name,
> is rejected with the same error and cannot take the name over; if the name is not yours, choose a
> different endpoint name.
