A demo that shows how to use the Deepgram Speech-to-Speech API to build a voicebot.
Assuming you want to develop "locally", i.e. bring-your-own-key, just set a DEEPGRAM_API_KEY
environment variable and run the dev
command. Any DG key will do, it just needs usage:write
.
Remember: use minimally-privileged keys, avoid sending them in shell commands, and avoid saving
them as plaintext to files! One secure approach is to use a CLI-compatible password manager like
pass or bitwarden. A pass
example:
DEEPGRAM_API_KEY=$(pass deepgram/my-key) yarn dev
When Next.js starts up, it'll give you a localhost URL to visit.