# Get started with Mainnet deployment · Chromia Docs (concept)

> Deploying a decentralized application (dapp) to the Chromia Mainnet involves several key steps.

Source: https://docs.chromia.com/build/deployment/mainnet/getting-started/

# Get started with Mainnet deployment

On this page

* [Step 1: Obtain a container for your dapp](#step-1-obtain-a-container-for-your-dapp)
* [Step 2: Deploy your dapp](#step-2-deploy-your-dapp)
* [Step 3: Connect a client](#step-3-connect-a-client)

Deploying a decentralized application (dapp) to the Chromia Mainnet involves several key steps. Here's an overview of
the process, with each step explained in more detail in the subsequent pages.

## [Step 1: Obtain a container for your dapp](https://docs.chromia.com/build/deployment/mainnet/get-container/)

Your dapp needs a container, which serves as its operational environment. Here's how to get one:

1. **Generate a public-private key pair**: [Generate your key pair](https://docs.chromia.com/build/cli/commands/keygen/) using the Chromia CLI. You'll
   need your public key to lease a container and deploy your dapp.
2. **Lease a container**: Go to the [Chromia Vault](https://vault.chromia.com/en/containers/) and
   [lease a container](https://docs.chromia.com/build/deployment/mainnet/get-container/). This process will give you a Container ID necessary for
   deployment.

## [Step 2: Deploy your dapp](https://docs.chromia.com/build/deployment/mainnet/deploy-dapp/)

Once you have secured your container, follow these steps to deploy your dapp:

1. **Update configuration**: Add your deployment specifics, including the Container ID, to your project configuration
   file (`chromia.yml`). Detailed instructions can be found
   [here](https://docs.chromia.com/build/deployment/mainnet/deploy-dapp/#deploy-the-dapp).
2. **Execute deployment**: Use the Chromia CLI to execute the deployment command. Specify your network (Mainnet) and
   blockchain name.
3. **Receive blockchain RID**: Upon successful deployment, you will receive a unique Blockchain RID for your dapp. This
   is essential for [future updates](https://docs.chromia.com/build/deployment/mainnet/deploy-dapp/#update-the-dapp) and
   [client connectivity](https://docs.chromia.com/build/deployment/mainnet/connect-client/).

## [Step 3: Connect a client](https://docs.chromia.com/build/deployment/mainnet/connect-client/)

To enable user interactions, you must [connect a client](https://docs.chromia.com/build/deployment/mainnet/connect-client/) to the backend of
your deployed dapp:

1. **Specify node URLs and Blockchain RID**: Configure the client by specifying a pool of system node URLs where your
   dapp is running and the Blockchain RID specific to your dapp.
2. **Complete configuration**: Follow the steps outlined [here](https://docs.chromia.com/build/deployment/mainnet/connect-client/) to complete
   the configuration.

By completing these steps, you will have successfully deployed a fully functional dapp to the Chromia Mainnet. The next
few pages explain each of the steps in more detail.

[View this page on docs.chromia.com](https://docs.chromia.com/build/deployment/mainnet/getting-started/)Content mirrored from the live docs
