- Node version 16 or higher is required
- A Momento API key is required, you can generate one using the Momento Console
To run any of the examples you will need to install the dependencies once first:
npm install
This example demonstrates creating and using Momento API keys with different permissions
# Run example code
MOMENTO_API_KEY=<YOUR API KEY> npm run access-control
Example Code: access-control.ts
If you have questions or need help experimenting further, please reach out to us!
For more info, visit our website at https://gomomento.com!