> For the complete documentation index, see [llms.txt](https://docs.cipp.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cipp.app/setup/setting-up-cipp/install.md).

# Installation

Whether you opt to be hosted by CyberDrain or self-host, we've made installation of your instance a breeze. See below for instructions.

## CyberDrain Hosted Deployment

{% stepper %}
{% step %}

### Open the Management Portal

You will receive an email from GitHub once you complete your sponsorship payment directing you to [management.cipp.app](https://management.cipp.app/).
{% endstep %}

{% step %}

### Log In

Use the GitHub account you signed up for the sponsorship to log in to the management portal.

{% hint style="warning" %}
If you used an organisation account, please send in a support ticket to <helpdesk@cyberdrain.com> with the organisation GitHub account and a personal GitHub account. We will add the personal account to the sponsorship to allow you to log in.
{% endhint %}
{% endstep %}

{% step %}

### Start Onboarding

Click the Start Onboarding button to begin the installation process
{% endstep %}

{% step %}

### Choose "Deploy my Instance"

Click Next Step
{% endstep %}

{% step %}

### Complete the Form Details

{% hint style="warning" %}
Use caution when selecting your deployment region. You should choose a region that is geographically close to where you are located. This will provide your users with the best experience possible as you will have the lowest latency between your users and the server.
{% endhint %}
{% endstep %}

{% step %}

### Verify and Confirm

If the information looks correct, click Confirm.
{% endstep %}

{% step %}

### Monitor

You will be able to monitor progress. The management portal will refresh and show your instance information when completed. Alternatively, you can navigate away as you will receive an email once installation is completed.

{% hint style="info" %}
If you receive an error during installation rest assured that the helpdesk has been alerted and will work to resolve the error quickly.
{% endhint %}
{% endstep %}
{% endstepper %}

{% @storylane/embed subdomain="app" url="<https://app.storylane.io/share/8lif4yxgrpxs>" linkValue="8lif4yxgrpxs" %}

## Self-Hosted Deployment

{% stepper %}
{% step %}

### Confirm You’ve Met All Prerequisites

Before deploying, ensure you’ve completed everything in the [Prerequisites](/setup/setting-up-cipp/index.md) section (Azure subscription, experience to manage complex azure environments, and all other requirements).
{% endstep %}

{% step %}

### Use Template to Deploy

This template creates all necessary resources in your selected region, including:

* **Azure Web App** (API) with a **Storage Account**
* **Azure Key Vault** for CIPP secrets
* **Azure App Service Plan** for your computing power
* Performance is impacted by your region selection. Make sure you choose the region closest to you for optimal performance.
* After you have completed the prerequisites in, select the button below to run the automated setup.

[![](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FCyberDrain%2FCIPP%2Frefs%2Fheads%2Fdev%2Fdeployment%2Fcipp-deploy-azure-button.json)

{% hint style="danger" %}
**What if the deployment fails?** It’s simplest to **delete the resource group** in the Azure portal and try again. This ensures a clean slate.
{% endhint %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cipp.app/setup/setting-up-cipp/install.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
