Speech To Text Bubble Mobile

Demo to preview the plugin:

Introduction

The Speech To Text Bubble Mobile plugin enables native audio recording and AI-powered speech transcription directly within Bubble mobile apps. Built on Expo Audio for reliable device microphone access, the plugin lets users record speech, then transcribe it via the Deepgram API — returning accurate text, detected language, and rich formatting options such as punctuation, smart formatting, speaker diarization, and more.
The plugin is ideal for voice notes, voice search, dictation features, multilingual apps, and any use case requiring hands-free text input on mobile devices. It supports both iOS and Android and integrates seamlessly with Bubble’s mobile editor.

Prerequisites

You must have a Deepgram account to use this plugin. Create your account and obtain an API key at: https://console.deepgram.com
This plugin is designed specifically for the mobile version of the Bubble editor. To test the plugin on your mobile device, use the TestFlight app available at:
Security note: Never expose your Deepgram API key on the frontend. The plugin uses a short-lived temporary token (valid 30 seconds) obtained via a Bubble Backend Workflow. This token is only used for the initial WebSocket handshake — once the connection is open, the session remains active regardless of token expiry.
Image without caption
ℹ️
Copy your secret key, the key is shown only once
Image without caption
Image without caption

How to setup

Step 1 - Install the plugin from the Bubble marketplace and open the plugin settings tab.

Step 2 - Enter your Deepgram API key in the plugin’s private key field (labeled Token). This key is used server-side only.

Image without caption

Step 3 - Add the STT Native element to your mobile page by dragging it from the plugin elements panel.

Step 4 - Build your recording workflow:

Step 5 - Add Stop / Pause / Resume actions to the appropriate buttons on your page.


Plugin Element Properties - STT Native

The plugin contains one visual element — STT Native — that should be added to your mobile page.
Image without caption

Fields

Element Actions

Exposed States

Element Events

Plugin Data/Action Calls (API Calls only)

Get Temp Token

Image without caption

Changelogs