Prerequisites
- Created your Unkey account
- Created an API in the Unkey dashboard
Skip the tutorial
Don’t want to read the tutorial? Click this to get an example ready to test.
1
Create Hono Application
Run the following command to create your Hono project
2
Install
Now install the
@unkey/hono
package3
Update index to use our Hono SDK
Create a new route and add the following code
/src/index.ts
4
Running it
5
Try it out
Go to https://app.unkey.com and create a new key. Then verify it with our new server:It should return
Hello Hono!"