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

# Deploy Prompt

Deploying your prompt creates a dedicated API endpoint that uses your Prompt Template. You can call this API with just the variables, making integration to your app much easier!

Thanks to the Cloudflare Global network, these API benefit from low latency and reliable, high availability.

<Steps>
  <Step title="Prerequisites">
    Before moving on, make sure you have:

    * A Langtail account ([create one here](https://langtail.com/sign-up))
    * Open a Prompt that you can use. You can use this [Prompt Example](https://app.langtail.com/playground?shareid=cbGLHKSIff)
    * You can save the example using the "Save as" button like this:

    <video controls className="w-full aspect-video" src="https://mintcdn.com/langtail-64/DUDvjBz8ars65bBP/images/deployments/save-example.mp4?fit=max&auto=format&n=DUDvjBz8ars65bBP&q=85&s=148c9da07662f3d510276832af425008" data-path="images/deployments/save-example.mp4" />

    <br />
  </Step>

  <Step title="Deploy Prompt">
    <video controls className="w-full aspect-video" src="https://mintcdn.com/langtail-64/HtcViWWwAyHy2z_v/images/deployments/deploy-prompt.mp4?fit=max&auto=format&n=HtcViWWwAyHy2z_v&q=85&s=f102d447fc16e1fa92ddc02c0dc9501e" data-path="images/deployments/deploy-prompt.mp4" />

    1. In the upper menu, click *Deploy*.
    2. Choose the Preview environment.
    3. Click the success message in the lower-right corner to open the deployments tab.
    4. Select the Deployment to see how to use the code snippets.
  </Step>
</Steps>

<Tip>You can read the full [API Reference](/api-reference/endpoint/invoke-deployed-prompt) which describes all the request body fields in detail.</Tip>
