> For the complete documentation index, see [llms.txt](https://maqsoftware.gitbook.io/findfast-technical-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maqsoftware.gitbook.io/findfast-technical-documentation/setting-up/deploy-the-code-and-azure-resources.md).

# Deploy the code and Azure resources

1. Download the [FindFAST code and deployment script](https://findfast.blob.core.windows.net/find-fast-build/Find-FAST-Deployment.zip).
2. Extract the files from the zip folder to the C drive.
3. Review the contents in the folder. It should contain a template and a deployment script.&#x20;

   <figure><img src="https://2929525629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0yTJDrWeMt6SEdGOt2fv%2Fuploads%2FA2LeE4TNrHTBXJYP6mnu%2FFindFAST_folder-image.png?alt=media&amp;token=2005b644-55aa-45fe-8457-428a942ff168" alt=""><figcaption></figcaption></figure>
4. Right-click on the PowerShell file and select **Run with PowerShell**. The PowerShell console window will pop up on your screen.
5. Enter the following values for each input field as detailed below:
   1. $ResourceGroup: Name of the resource group where you want to deploy the Azure resources.
   2. $ClientID: Client ID
   3. $TenantID: Tenant ID
   4. $ClientSecret: Client secret
   5. $webAppURL: Web app URL
   6. $KeyVaultURL: Key Vault URL
6. After the values have been provided, a “**Login successful**” message will appear.
7. Select the subscription and tenant for code deployment.&#x20;

   <figure><img src="https://2929525629-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0yTJDrWeMt6SEdGOt2fv%2Fuploads%2FNmO3nTgC3mQNDzTVDWGw%2FPicture1.png?alt=media&amp;token=48e19be1-45c9-4731-bc8b-9dfd8468dcac" alt=""><figcaption></figcaption></figure>
8. After selecting the subscription, zip compression begins (may take over 10 minutes).
9. Once completed, code deployment to the web app starts. A message will appear to confirm successful deployment: “**Deployed code to web app. Site is ready to use.**”
10. Add the site URL as a redirect URI in Azure Active Directory by following these steps:

    1. Navigate to Azure Active Directory.
    2. Select **App registrations** from the left panel.
    3. Select the app.
    4. Select **Redirect URIs**.
    5. Add the site URL to the list and select **Save**.

    <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Note:</strong> The URL should be in this format: https:///&#x3C;<strong>WebAppURL</strong>>getAToken</p></div>
