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

# Postmark

> Export email templates directly to Postmark for transactional and broadcast emails

Connect your Postmark account to export email templates created in Brew directly to your Postmark server. No manual copy-pasting, just design in Brew and export to Postmark in one click.

<Frame>
  <img src="https://mintcdn.com/brew-796f053a/PUK-uvvrJtpQ2VX2/images/integrations/PostMark_OG.png?fit=max&auto=format&n=PUK-uvvrJtpQ2VX2&q=85&s=40b3b1cfb2e27d4a1b90ea7db52f2208" alt="Postmark Integration" className="w-full rounded-xl" width="1024" height="571" data-path="images/integrations/PostMark_OG.png" />
</Frame>

## Setup

<Steps>
  <Step title="Open the Postmark integration in Brew">
    In Brew, go to **Integrations** and click the **Postmark** card.
  </Step>

  <Step title="Go to your Server's API Tokens">
    In Postmark, click **Servers**, select the server you want to use, then go to the **API Tokens** tab.
  </Step>

  <Step title="Copy your Server API Token">
    Copy the Server API token shown on the page. If you need a new one, you can generate it from this same page.
  </Step>

  <Step title="Paste the Token in Brew">
    Go back to Brew, paste the Server API token, and click **Connect**.
  </Step>
</Steps>

That's it. Postmark is now connected to Brew.

## Exporting a Template

Once connected, you can export any email to Postmark:

1. Open an email you've created in Brew
2. Click **Send**
3. Choose to **export the template to Postmark**
4. Give it a name and click **Export**

The template appears in Postmark on your server's **Templates** tab, ready to use for transactional or broadcast emails.

<Tip>
  To find your template, go to **Servers**, click into your server, then click the **Templates** tab.
</Tip>

## Requirements

* A Postmark account with at least one server
* A Server API token

<Snippet file="need-help.mdx" />
