How to do binding using nextjs ?

I tried using --kv but nextjs won't recognize the process.env, it returns undefined. Also how can add remote binding KV on local nextjs ?
Was this page helpful?