Deploy Promptsail Azure
---
title: "How to deploy Prompt Sail on Azure"
permalink: /docs/deploy-promptsail-azure
excerpt: "How to deploy Prompt Sail on Azure, AWS, GCP, or your local machine."
last_modified_at: 2024-05-05T11:48:05+01:00
redirect_from:
- /theme-setup/
toc: true
toc_sticky: true
---
## Azure Deployment with PROXY and UI as different services
### PROXY Setup
1. Go to [Create a resource](https://portal.azure.com/#create/hub) webpage and select `Create` under `Web App` section.
2. On the first page you need to specify (1) `Resource Group` that you will use to deploy promptsail proxy, (2) `name of the instance` and (3) `publish type`. Then press (4) `Next`.
3. In the `Container` tab you need to specify `Image Source` as (1) `Docker Hub or other registries` and as a `Options` the (2) `Single Container`. Now you need to provide Registry server URL (3) - `https://ghcr.io/` and Image and tag in this case should be `promptsail/promptsail-backend:lastest` (4).
4. Now you can press the `Review + create` button then `Create`.
5. When your proxy web app is created, go to `Overview` page of your app (1), then you need to move to the `Environment Variables` (2) using left navigation bar.
6. Here you need to add backend (proxy) environment variables. You can do this by hand (1) using `Add` option or pasting pre-created variables using `Advanced edit` (2).
Example pre-created variables for your proxy:when to use it
Community prompt sourced from the open-source GitHub repo PromptSail/prompt_sail (MIT). A "Deploy Promptsail Azure" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
PromptSail/prompt_sail · MIT