Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.dev

Handling requests with Gatsby

Gatsby Functions

Gatsby Functions provides an Express-like architecture that simplifies building Node.js APIs.

So, Gatsby Functions can use the ClerkExpressWithAuth and ClerkExpressRequireAuth middlewares from the Clerk Node SDK as shown below.

Was this helpful?

Clerk © 2022