# Partner Core Setup

Setting up a Datagram node on a VPS is quick and straightforward. Follow the steps below to install, configure, and verify your node as a **Partner Substrate**, allowing you to contribute compute resources and earn rewards.

### Prerequisites

* A VPS server (Ubuntu or compatible Linux distribution)
* Root access or a user with **sudo** privileges
* Your VPS IP address
* A Datagram account

Let’s get started. 🚀

### Setup Instructions

**Step 1:** Before installation, you’ll need to request a Partner License Key. To request, refer to the section “[Obtain your License Key.](https://doc.datagram.network/dashboard/how-to-request-a-partner-license)”

**Step 2:** Register your Node ID. To register, refer to the section "[Register Node ID](https://doc.datagram.network/additional-tools/register-node-id)."

**Step 3:** Setup Partner Key Format. To setup, refer to the section "[Partner Key Format](https://doc.datagram.network/additional-tools/cli-command-line-interface#id-2.-partner-key-format)."

**Step 4:** Open Your Local Terminal (macOS/Linux) or an SSH client like PuTTY (Windows) to begin the setup process.

**Step 5:** Run the following command in your terminal to connect to your VPS:

```
ssh root@<your-server-ip>
```

***Note:** Replace **\<your-server-ip>** with your actual VPS IP address. When prompted, enter your VPS root password.*

**Step 6:** Once you're logged into your VPS, run the command below to download and run the Datagram installer script:

```
wget -O datagram-installer.sh https://gist.githubusercontent.com/datagram-dev/8ef3d7678dc828e45a65a3e955327736/raw/datagram-installer.sh && chmod +x datagram-installer.sh && sudo bash datagram-installer.sh
```

This command will:

* Download the installer script
* Make it executable
* Run the installer with elevated privileges

**Step 7:** During the installation, you’ll be prompted to enter a **License Key**. Enter Your License Key.\
\
For more information on how to get your license key, refer to the section “[Obtain your License Key.](https://docs.google.com/document/d/11wLq0UmTFqpzvH_leSkyJRsywsH3GRgG7-FmVXfIiK8/edit?tab=t.0#heading=h.t3n81owlrg5o)”

**Step 8:** To check the current status of your Datagram node, run:

```
status-datagram
```

This will show whether your node is online, offline, or initializing.

**Step 9:** If the status shows offline, restart the Datagram service by running

```
restart-datagram
```

Then, check the status again by running

```
status-datagram
```

Repeat these commands as needed until the node status shows as online.

**Step 7:** Lastly, go back to the[ Dashboard ](https://dashboard.datagram.network/overview)and confirm that your node is showing as connected. Once connected, it will begin earning points automatically.

<figure><img src="https://4099249966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2JG2WtN9P3Hm437FJZ3R%2Fuploads%2F0xop2j6y4lZOcNjOgJN8%2Funnamed%20(14).png?alt=media&#x26;token=083dc205-a4db-424b-ae63-bf41e19a9c2f" alt=""><figcaption></figcaption></figure>

Your VPS server is now successfully set up as a Partner Substrate in the Datagram Network. It will contribute to the network’s compute capacity and begin earning rewards based on performance and uptime.

### How to Obtain Your License Key

Step 1: Open your browser and [log in/sign](https://staging.datagram.network/wallet?tab=licenses) up for a Datagram account if you haven’t already.\
\
**Step 2:** Navigate to the “**Wallet**” section from the left sidebar, then click on the “**Licenses**” tab at the top to manage your license settings.

<figure><img src="https://4099249966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2JG2WtN9P3Hm437FJZ3R%2Fuploads%2F5JQwPk3wCUO0Z3uccwe8%2Fdashboard%20wallet%20markup.png?alt=media&#x26;token=2dfee3b6-d498-4279-a3da-ac5f7cba115b" alt=""><figcaption></figcaption></figure>

**Step 3:** Here, you can copy the required License Key.&#x20;

* To setup a Full Core License, copy the License Key for License ID FCORE.
* To setup a Partner Core License, copy the License Key for License ID FCORE.

Once you have copied the correct License Key, paste it to the terminal when prompted to enter a License Key, and press Enter to continue.

<figure><img src="https://4099249966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2JG2WtN9P3Hm437FJZ3R%2Fuploads%2FyJ20FWlCtEmMzXv1fkII%2Fwallet%20license.png?alt=media&#x26;token=7453218d-9b51-4705-a375-421aeb81d6d2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Partner Core Licenses (PCORE) are currently only available to pre-approved partners.
{% endhint %}
