> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revolte.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy from Interactive Chat

> Generate deployment configuration in Chat, commit it, and launch a Preview environment.

Move an application from an active Interactive Chat sandbox into a managed Revolte Preview environment.

<Info>
  This flow is for an existing application with a connected repository and a preconfigured cloud provider. If cloud access is not configured, connect a provider before launching the deployment.
</Info>

<Steps>
  <Step title="Request a Preview deployment">
    When the application is ready to test outside the chat sandbox, click **View Preview**. If GitHub is not connected, connect it through the [GitHub repository integration](/integrations/repository/github) before continuing. If the repository does not have deployment configuration yet, select **Generate `revolte.yml` configuration file**.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/01-generate-yaml.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=369403d2b0bdfceb3a0b2c6ee8add6f1" alt="Interactive Chat showing View Preview and the option to generate a revolte.yml configuration file." width="2880" height="1558" data-path="image-v2/deployments/from-chat/01-generate-yaml.png" />
    </Frame>
  </Step>

  <Step title="Review the generated deployment files">
    Revolte analyzes the application and prepares the files required for deployment. Depending on the application, these can include:

    * `revolte.yml` for environments, services, resources, branches, and scaling
    * A `Dockerfile` for the production runtime
    * A health-check endpoint used during deployment

    Review every generated file under **File changes** before continuing.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/02-yaml-generation.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=f3c536f0bdf1a6a1c998fafb0b47d93f" alt="Revolte generating revolte.yml, a Dockerfile, and a health-check route in Interactive Chat." width="2878" height="1546" data-path="image-v2/deployments/from-chat/02-yaml-generation.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/03-review-deployment-files.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=a0cdd51f3dcced2c0ec98260881a4171" alt="Interactive Chat summarizing the generated deployment files and Preview environment configuration." width="2876" height="1552" data-path="image-v2/deployments/from-chat/03-review-deployment-files.png" />
    </Frame>
  </Step>

  <Step title="Create the project and application if needed">
    If the project or application does not already exist, create them as new before continuing. This ensures the Preview deployment is associated with the correct workspace and app configuration.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/o5JzQQ0BzLp68fHx/image-v2/deployments/from-chat/project-app-selection.png?fit=max&auto=format&n=o5JzQQ0BzLp68fHx&q=85&s=5a29199359311c62a48d34145b708295" alt="Project and application selection screen where a new project or application can be created before deployment." width="1268" height="1216" data-path="image-v2/deployments/from-chat/project-app-selection.png" />
    </Frame>
  </Step>

  <Step title="Commit the deployment configuration">
    Click **View Preview** again. If the generated files are still uncommitted, enter a commit message and click **Proceed** to commit and push them to the working branch.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/04-commit-yaml.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=5dd8674f06da086aa001af6ca7239a78" alt="The Commit and push dialog for committing generated deployment configuration before continuing." width="2880" height="1554" data-path="image-v2/deployments/from-chat/04-commit-yaml.png" />
    </Frame>
  </Step>

  <Step title="Select the cloud infrastructure">
    Choose the cloud provider and target infrastructure for the Preview environment before you launch it. Revolte uses this selection to provision the correct resources and runtime settings for your application.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/o5JzQQ0BzLp68fHx/image-v2/deployments/from-chat/cloud-selection.png?fit=max&auto=format&n=o5JzQQ0BzLp68fHx&q=85&s=85ab7eb724b85c07d5220453e7af1f0f" alt="Cloud infrastructure selection for the Preview environment in Interactive Chat." width="2876" height="1402" data-path="image-v2/deployments/from-chat/cloud-selection.png" />
    </Frame>
  </Step>

  <Step title="Review the YAML and launch Preview">
    Revolte opens the application's deployment configuration page. Review the **Preview** environment in `revolte.yml`, confirm its service resources and runtime properties, then click **Launch**.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/05-launch-preview.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=cb4e9e0247d26f401af08d849ea8a3dd" alt="The application configuration page showing the Preview environment in revolte.yml and the Launch button." width="2880" height="1552" data-path="image-v2/deployments/from-chat/05-launch-preview.png" />
    </Frame>

    For every available setting, see the [`revolte.yml` reference](/yaml/overview).
  </Step>

  <Step title="Confirm the launch checklist">
    Confirm that the latest deployment changes are committed. Click **Confirm** to start the Preview deployment.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/06-confirm-launch.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=8f3b6faa5394266990f6fd3dabda8a39" alt="The launch checklist asking the user to confirm that the latest changes are committed." width="2880" height="1550" data-path="image-v2/deployments/from-chat/06-confirm-launch.png" />
    </Frame>
  </Step>

  <Step title="Deployment in progress">
    While the Preview environment is building and deploying, the dashboard shows the ongoing activity and progress indicators. Wait for the deployment to complete before validating the application.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/o5JzQQ0BzLp68fHx/image-v2/deployments/from-chat/deployment-inprogress.png?fit=max&auto=format&n=o5JzQQ0BzLp68fHx&q=85&s=ffbd9503b47c348aff92b14169749889" alt="Deployment in progress screen showing the Preview environment still building and deploying." width="2876" height="1354" data-path="image-v2/deployments/from-chat/deployment-inprogress.png" />
    </Frame>
  </Step>

  <Step title="Monitor the Preview deployment">
    Revolte opens the Preview environment dashboard. Follow the activity timeline until the build and deployment succeed, then verify that the application health check is **Live**.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/07-preview-live.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=283261ced9519ea73d6347b3e677fd88" alt="A live Preview environment with successful build and deployment activity and a healthy web service." width="2878" height="1550" data-path="image-v2/deployments/from-chat/07-preview-live.png" />
    </Frame>
  </Step>

  <Step title="Open and validate the application">
    Open the generated Preview URL and test the deployed application. If you find an issue, return to Interactive Chat, make the change, commit it, and redeploy the Preview environment.

    <Frame>
      <img src="https://mintcdn.com/poddle-54594c3d/rsn4aNVKS_FvNRWy/image-v2/deployments/from-chat/08-validate-app.png?fit=max&auto=format&n=rsn4aNVKS_FvNRWy&q=85&s=1b022b47c88e4823d7964b1f53e9aa40" alt="The deployed application running from its Revolte Preview URL." width="2880" height="1560" data-path="image-v2/deployments/from-chat/08-validate-app.png" />
    </Frame>
  </Step>
</Steps>

## Next steps

* [Inspect deployment logs](/deployments/observability/deployment-logs)
* [Manage application logs](/deployments/observability/application-logs)
* [Understand the deployment lifecycle](/deployments/overview)
