#Generating a Secure Token using API key

1 messages · Page 1 of 1 (latest)

dapper sun
#

Hello, I want to send the recording data directly from my frontend to deepgram for live-streaming transcription but I don't want to expose my API key, is there a way I can generated a time-limited or something similar kind of token to do this?

brittle houndBOT
#

Thanks for asking your question. Please be sure to reply with as much detail as possible so we can assist you efficiently. Such as:

  • Provide the request_id if you've a question about a transcription response.
  • The options you used or the api.deepgram.com URL you sent your request to, including parameters.
  • Any code snippets you can include.
  • Any audio you can include, or if you can't share it here please email it to us at [email protected] and provide a link to this thread.
obtuse lake
# dapper sun Hello, I want to send the recording data directly from my frontend to deepgram f...

Yep! Check out https://github.com/deepgram-starters/live-nextjs-starter and how we mint very short keys. You may have to adjust the time the key is alive for the time to takes to connect

GitHub

Live transcription by Deepgram in Next.js. Contribute to deepgram-starters/live-nextjs-starter development by creating an account on GitHub.