> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.cubecraft.net/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to link your Java Minecraft account to your forums account

||| To link your Bedrock account see [How to link your Bedrock Minecraft account to your forums account?](/en/article/how-to-link-your-bedrock-minecraft-account-to-your-forums-account-179w7pd/)

## How to link your account

1. Go to the forums and in your account details click `Connected accounts`

![](https://storage.crisp.chat/users/helpdesk/website/9890c81be7bf0000/firefox7ysajjcaqn_esrv0i.png)

2. On Passport click Add below the Java accounts table

![](https://storage.crisp.chat/users/helpdesk/website/9890c81be7bf0000/linkedaccountsclickaddjava_1rd57ex.png)

3. You can link your Java account either with a command in-game (option **A**), or by connecting to our link server (option **B**)

![](https://storage.crisp.chat/users/helpdesk/website/9890c81be7bf0000/firefoxjh8d7aenfk_1w2uqof.png)

###### Option A (command)

**1.** Join the server. (More information about joining [HERE](https://help.cubecraft.net/en/article/how-do-i-join-cubecraft-java-edition-15kob0/))

**2.** Run the `/passport` command with your special code

###### Option B (link server)

**1.** In your Minecraft server list, click `Direct Connect` and write the link IP with your code at the front.

**2.** Connect to the server, you should see a confirmation that your account has been linked

![](https://storage.crisp.chat/users/helpdesk/website/9890c81be7bf0000/2020-10-29053940_qo0bqy.png)

**3.** Confirm the link on passport

![](https://storage.crisp.chat/users/helpdesk/website/9890c81be7bf0000/firefoxmlpk92uweu_ybf1u9.png)