Astro Guides

Guides, examples, and demonstrations of using the Netlify platform.

Guide

Send emails in an Astro project using Resend

Astro's hybrid rendering capabilities opens an array of possibilities on what you can easily accomplish, including sending emails. Here's an email-sending example using Resend.

Astro Resend

Guide

Add an image uploader to a file-based content site

Managing images can be difficult in a git-based content workflow. This guide will show you how to add an image uploader to your Astro site to make it easy to add images to your content.

Astro

Guide

How to use Sanity Portable Text with Astro

Learn how to use Sanity's Portable Text content format in your Astro projects

Astro Sanity CMS

Guide

How to do ISR and advanced caching with Astro

Incremental Static Regeneration (ISR) is a powerful pattern for rendering pages on the web. Astro has useful tools to do fine-grained ISR and other advanced caching patterns when deployed to Netlify. This guide will show you how to do it.

Astro Caching Primitives

Guide

How to use Sanity CMS with Astro

Learn how to combine Sanity CMS with the Astro web framework to deliver managed content through a site experience that is totally under your control.

Astro Sanity

Guide

Using cookies for displaying dynamic status messages with Astro

Use server cookies and serverless functions to display dynamic feedback or status messages on your Astro site’s pages.

Astro

Guide

Install, build, and deploy an Astro site in 2 minutes

Use the Astro CLI to create a new site, run it in development, and build it for production. Then preview and publish the build by deploying it using the Netlify CLI.

Astro CLI

Video

Create, install, and deploy an Astro site in 2 minutes

This video will show you how to get started with Astro and deploy a live site to production in just a few minutes.

Astro CLI

Suggest a guide

Got an idea for a useful guide that you can't currently find here? Want us to explain something, or perhaps you'd like to work on creating a guide with us?

Let us know and we'll see what we can arrange.

We also have a contributor guide for those making content contributions