Use Clerk with Hono middleware
- Category
- Community
- Published
Hono is a great minimal web framework for building applications across any edge runtime and now with Hono's middleware and our community SDK, you can secure it with Clerk.
Install the middleware
To install the Clerk middleware for Hono, follow the instructions provided to set up and configure the middleware in Hono.
Configure the middleware
Before you start using the Clerk middleware, you'll need to set the following environment variables:
Use the middleware
Here is a quick example on how to use the Clerk middleware for Hono:
And that's it. Your app is now secured and running on the edge. Find more about Clerk's Hono middleware on GitHub.