Getting Started

Get your first newsletter up and running in five minutes.

Step 1: Create Your Account

Visit dispatch.dev and click "Get Started". Sign up with your email or GitHub account.

Step 2: Connect Your Repository

Connect your GitHub repository where you'll store your newsletter content. Dispatch will set up the necessary webhooks automatically.

Step 3: Create Your First Newsletter

Create a new file called newsletter.mdx in your repository:

---
title: "My First Newsletter"
date: "2024-01-15"
---

# Welcome to my newsletter

This is my first issue! 🎉

export const Counter = () => {
  const [count, setCount] = React.useState(0)
  return (
    <button onClick={() => setCount(count + 1)}>
      Click me: {count}
    </button>
  )
}

<Counter />

Step 4: Deploy

Push your changes to the main branch:

git add newsletter.mdx
git commit -m "Add first newsletter"
git push origin main

That's it! Your newsletter is now live and ready for subscribers.

Next Steps

Learn about writing with MDX to create more interactive newsletters.

Built with v0