Setting up Your Planet

A planet is a permanent Urbit identity. Like all Urbit identities, they can never be taken away from you. Unlike comets which are free, planets are designed for use well into the future. If you're not yet familiar with the Urbit network, please follow the Getting Started guide, which will explain the basics and walk you through using a free identity. This guide explains the next steps.

Purchase a planet

There are a few ways to get your own planet:

Note that when you buy a planet, you should ensure with the provider that your parent star is operating. If you need to escape a non-operational star, see Escaping A Sponsor.

Hosting Providers

Hosting providers will often sell you a planet and run it for you. This option is very simple but will probably cost a regular fee.

Urbit is designed to be portable. This means that if you sign up for hosting now but later want to leave your hosting provider and run your Urbit yourself, you should be able to work with them to obtain all of your data and boot your planet back up without losing anything.

Using hosting does mean that you're trusting your provider with your data, but so long as you have your planet, you'll always own your identity.

Current hosting providers are:

Choose to run your planet on your computer or on a cloud service

Urbit must run on an existing computer somewhere. Most users run their planet on their personal computer, but we recommend eventually using a cloud service (Digital Ocean, Linode, etc) because it allows your planet to be accessed from anywhere on multiple devices. Hosting your planet in the cloud also allows it to always be online and ready for automatic updates. You are welcome to run from your personal computer and switch to the cloud later...all without losing any data!

There is a guide for hosting your planet on DigitalOcean and hosting your planet on Linode, but any cloud hosting service should work.

Get your keyfile

If you received an email invite to Urbit, the master ticket should be a .pdf file in the passport folder inside the archive that you downloaded. If you bought your planet or someone sent you one you probably do not have a master ticket, and you probably don't need one. Do not issue a new master ticket unless you are sure you need to.

  1. Connect to Bridge. (Bridge is like an Urbit wallet)
  2. Enter the name of your planet and the associated master ticket if you have one. Click the "Metamask, Mnemonic, Hardware Wallet..." button if you don't have a master ticket.
  3. Once you're logged in, click the "OS" option.
  4. Click the "Download Arvo Keyfile" button. If this is grayed out, click on "Reset Networking Keys", then click on "Reset Networking Keys" on the following page, validate the transaction using your wallet, and then click "Send Trasaction". Once the transaction is complete, the "Download Arvo Keyfile" button should be available for you to press. You should receive a .key file that contains the secret needed to boot your planet. Hold onto this file.

Run the boot command

Navigate to your urbit directory.

Open your keyfile (it is just a text file) and copy the key inside. Paste it into the following command, with sampel-palnet replaced by the name of your planet. Do not include the tilde in your planet name.

./urbit -w sampel-palnet -G rAnDoMkEy

Or you can copy the keyfile into the current directory and run:

./urbit -w sampel-palnet -k ./my-planet.key

Either command will create a directory called sampel-palnet/ and begin booting your planet. It may take a few minutes.

When your planet is finished booting, you will see ~sampel-palnet:dojo> (Dojo: the Urbit command line).

Get your password to log into landscape (the Urbit web interface) by typing:

+code

To shut down your planet, use Ctrl-D.

To start your planet up again, run the following from your urbit directory.

./urbit sampel-palnet

Note that sampel-palnet/ is the path of a folder, which we just created in your urbit directory. This folder is called your planet's pier, and it holds all of your data.

Never boot multiple instances of your planet at the same time. You can prevent this from happening on accident by only ever keeping a single copy of your pier.

Important: once a key has been used to boot a planet onto the network, it cannot be used to boot that planet again later - doing so will cause communication problems with other planets. For this reason you should delete the keyfile from your machine once your planet has booted successfully. If you do use the same key twice, you'll need to reset your planet to restore its functionality.

Delete the keyfile with the command below:

rm ./my-planet.key

Setup

The first thing you generally want to do with a new planet is to mount it. A planet being mounted means that it can be seen by Linux, allowing files to be shared between it and your planet. To mount your planet, type |mount % at the Dojo prompt.

|mount %
>=

The >= output means that a command was successful. Now you can see your planet's files in its directory.

To understand what happened with this command, read more about Urbit’s filesystem (called “clay”) here.

Updating

By default, planets have a sponsor — a star that provides updates and routing services. To see who you receive updates from, enter |ota in the dojo. You will see something like this:

~sampel-palnet:dojo> |ota
OTAs enabled from %kids on ~dopzod
use |ota %disable or |ota ~sponsor %kids to reset it
> |ota
>=

If for some reason your sponsor (in this case, ~dopzod) is not responding, read instructions on escaping your sponsor.

Next Steps

Now that you’re up and running, take some time to deepen your understanding by checking out some of our other guides: