# Deploying custom providers
URL: https://metorial.com/docs/build/custom-providers/managed-deployment

Learn how to deploy and manage versions of your custom providers.

---

<PageIntro>
  <Learn>
    * How deployments work
    * Version management
    * Rollback strategies
  </Learn>
</PageIntro>

Deploy your custom provider code and manage different versions over time. Metorial automatically builds and deploys your code when you upload it.

## Creating deployments [#creating-deployments]

<Steps>
  <Step title="Upload code">
    Upload your provider code through the dashboard.
        <img alt="Editing custom provider code" src="__img0" />
  </Step>

  <Step title="Click publish new version">
    Metorial builds your provider and installs dependencies automatically.
  </Step>

  <Step title="Validation">
    The build process validates your code and reports any errors.
  </Step>

  <Step title="Go live">
    Your provider deploys and becomes available for use.
  </Step>
</Steps>

## Version management [#version-management]

Each deployment creates a new version with a unique version number. View all versions in the dashboard, including deployment timestamps and the code changes in each version. You can switch between versions at any time.

<Callout type="info">
  **Version History:**

  * Every deployment is preserved
  * View timestamps and changes
  * Switch between versions instantly
</Callout>

## Rolling back [#rolling-back]

Revert to any previous version if you encounter issues with a new deployment. Select the version you want to restore and click Deploy. Rolling back is instant and doesn't require rebuilding your code.