Skip to main content
Docs

Clerk Astro SDK

The Clerk Astro SDK gives you access to prebuilt components, React hooks, and helpers to make user authentication easier. Refer to the quickstart guide to get started.

Client-side helpers

The Astro SDK provides stores that give you access to the Clerk object and helper methods for authentication flows.

Server-side helpers

The following references show how to integrate Clerk features into your Astro app on the server-side.

Locals

The Astro SDK provides access to Clerk's authentication data through Astro's locals object. The following references show how to access authentication data in server-side code:

clerkMiddleware()

The clerkMiddleware() helper integrates Clerk authentication and authorization into your Astro application through middleware. You can learn more here.

Feedback

What did you think of this content?

Last updated on