How am I to run my Next.js 13 app with Edge runtime API route with KV bindings locally?

I created a brand new next.js 13 app with Edge runtime API route. This works well both locally and when deployed in CF Pages. I want to add some KV bindings to the project, so I went to the Pages settings and added one. How am I to setup the project so I can test the KV store locally?
Was this page helpful?