> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

# Azure Self-Serve Marketplace

You can pay for Atlas usage via the Azure (Microsoft Azure) Marketplace without any upfront commitment. You can link an Atlas account to an Azure (Microsoft Azure) Billing Account, as well as delete an existing subscription.

## Link a Azure Billing Account to MongoDB Atlas

To link your Azure (Microsoft Azure) Billing Account to MongoDB:

**Note:**

You must resolve all outstanding or failed invoices in your Atlas organization before linking it to your cloud service Billing Account.

1. Sign in to your [Azure account](https://portal.azure.com/).

   If you do not already have an Azure account, you must create one.

2. Navigate to the [MongoDB Atlas (Pay-as-You-Go) subscription](https://portal.azure.com/#view/Microsoft_Azure_Marketplace/GalleryItemDetailsBladeNopdl/id/mongodb.mongodb_atlas_self_serve_prod_2022) page in the Azure Marketplace.

3. Review the Overview, select the Pay as You Go plan from the dropdown, and click Subscribe.

4. Complete the steps to subscribe.

   Fill out your project details.

   Optionally, add key-value tags.

   Review your product and plan details.

   Click Subscribe.

5. Wait for Azure to process your subscription.

6. To complete the subscription process, click Configure account now.

   Allow MongoDB to access your Azure information if prompted.

   If you are already signed in to an existing MongoDB Atlas account, you are automatically redirected to the Select an
   Organization to Link to Your Azure Billing Account page on the MongoDB Atlas website.

   If you are not already signed in to an existing MongoDB Atlas account, you are prompted to sign in to a MongoDB Atlas account. After you sign in, you are automatically redirected to the Select an Organization to Link to Your Azure Billing
   Account page.

7. Link an organization.

   On the Select an Organization to Link to Your Azure Billing
   Account page, click the Link button in the Actions column for the organization you wish to link to your Azure account. Atlas redirects you to the Billing overview page of the organization that you are linking with your Azure account.

   If you don't have any organizations available to link to your Azure account, click Create New Organization and follow the steps to [create a new organization.](https://www.mongodb.com/docs/atlas/access/orgs-create-view-edit-delete.md#std-label-create-organization)

   **Important:**

   If the Link button for a particular organization is dimmed, you can't link the organization to your Azure account. Mouse over the disabled Link button to display a tooltip with more information.

8. Wait for Azure to link your organization.

   In the bottom left-hand corner of the Billing page, Atlas displays a pop-up notifying you that your organization is syncing with your Azure account. Additionally, the Payment
   Method field of the Billing page remains empty until the sync is complete.

   When the sync completes successfully, you can see the following in the Atlas UI:

   - In the bottom left-hand corner of the Billing page, a green pop-up indicates that you have successfully linked your organization to your Azure account.

   - The Payment Method field now shows *Azure Marketplace
     Subscription*.

   **Important:**

   The Edit button in the Payment Method field is dimmed when you have an *Azure Marketplace Subscription*. To remove the *Azure Marketplace Subscription* payment method, you must [unlink your Azure Billing Account from MongoDB.](https://www.mongodb.com/docs/atlas/billing/azure-self-serve-marketplace.md#std-label-unlink-azure-billing-account)

## Unlink an Azure Billing Account from MongoDB Atlas

To unlink your Azure (Microsoft Azure) Billing Account from MongoDB:

1. Sign in to your [Azure account](https://portal.azure.com).

2. Navigate to your [Azure Resource groups](https://portal.azure.com/#view/HubsExtension/BrowseResourceGroups).

3. Navigate to the resource group with your MongoDB (Pay-as-You-Go) subscription.

4. Click the *MongoDB Atlas (Pay as You Go)* subscription that you wish to unlink.

5. Click Cancel subscription at the top of the page.

   A confirmation modal prompts you to confirm the cancellation of your subscription.

6. Click Cancel subscription in the confirmation window.

   Upon successful cancellation of your subscription, a notification appears in the top right corner of your Azure resource group console.

   The Overview page of your subscription indicates that you are unsubscribed.
