At a Glance
| Prompt | Category | What It Does |
|---|---|---|
embed-existing-dashboard | Setup | Embed a dashboard from the Databrain UI |
embed-blank-dashboard | Setup | Multi-tenant setup with per-client dashboards |
query-data | Setup | Natural language querying + semantic layer |
populate-semantic-layer | Setup | Bootstrap table/column descriptions |
brand-my-embed | Customization | Colors, fonts, charts, responsive layout |
localize-embed | Customization | Multi-language, translations, calendar |
setup-filters | Customization | Dropdowns, date ranges, SQL filters |
secure-my-embed | Management | Permissions and access controls |
enable-metric-creation | Management | Self-serve metric creation modes |
manage-embeds | Management | List, compare, audit embeds |
Setup Prompts
These prompts handle the initial setup of embeds and data exploration.embed-existing-dashboard
embed-existing-dashboard
Embed a dashboard you’ve already built in the Databrain UI.The most common starting point. Walks through data app selection, API token creation, workspace and dashboard selection, embed creation, and frontend code generation.Example asks:
- “Embed my sales dashboard in my React app”
- “Set up a Databrain embed for my dashboard”
- “I want to embed the revenue overview dashboard”
list_data_apps → create_api_token → list_workspaces → list_dashboards → create_embed → generate_guest_token → generate_embed_codeSee full workflow →embed-blank-dashboard
embed-blank-dashboard
Multi-tenant setup — each client gets their own dashboard.Creates per-client embeds using
clientId for row-level data isolation. Each embed is scoped to a single client’s data.Example asks:- “Create per-client dashboard embeds for my SaaS app”
- “Set up multi-tenant embeds with separate data per customer”
- “I need a blank dashboard for each of my clients”
list_data_apps → list_datamarts → create_embed (per client with clientId) → generate_guest_token → generate_embed_codeSee full workflow →query-data
query-data
Query your data with natural language and manage the semantic layer.Ask questions about your data without setting up dashboards. The AI converts your question to SQL, executes it, and returns results with a chart type suggestion.Example asks:
- “What was total revenue last month?”
- “Compare sales across regions for Q1”
- “Show me the top 10 products by revenue”
list_datamarts → get_semantic_layer → update_semantic_layer (if needed) → ask_questionSee full workflow →populate-semantic-layer
populate-semantic-layer
Auto-generate table and column descriptions to enable natural language querying.Bootstraps the semantic layer by generating human-readable descriptions from table and column names, then pushes them to Databrain. A well-populated semantic layer is required for accurate
ask_question results.Example asks:- “Set up the semantic layer for my orders datamart”
- “Add descriptions to all my tables and columns”
- “Improve the semantic layer quality for better query accuracy”
get_semantic_layer → update_semantic_layer → get_semantic_layer (verify)See full workflow →Customization Prompts
These prompts help you customize the look, feel, and behavior of your embeds.brand-my-embed
brand-my-embed
Customize colors, fonts, chart styles, responsive layout, and theme presets.Applies visual theming to match your product’s branding. Supports granular control over card styling, chart appearance (tooltips, legends, axes), and responsive breakpoints.Example asks:
- “Make my embed match our brand — primary color #4F46E5, dark mode”
- “Apply the corporate theme and use Inter font”
- “Customize chart colors to use our brand palette”
list_embeds → get_embed_details → customize_embed_theme → configure_embedSee full workflow →localize-embed
localize-embed
Multi-language support, translations, and calendar format.Sets the UI language, calendar type, and custom translation strings for embedded dashboards.Example asks:
- “Set up French translations for my embed”
- “Change the calendar format to Hijri”
- “Localize my dashboard labels to Spanish”
get_embed_details → configure_embed (language, calendarType, translations)See full workflow →setup-filters
setup-filters
Dashboard filters — dropdowns, date ranges, and server-side SQL filters.Configures filtering on embeds including string, number, and date filters, plus SQL-based server-side filters for advanced use cases.Example asks:
- “Add a date range filter and a region dropdown”
- “Set up server-side SQL filters for my dashboard”
- “Hide the default dashboard filters and add custom ones”
get_embed_details → configure_embed (stringFilters, dateFilters, numberFilters, sqlFilters, hideDashboardFilters)See full workflow →Management Prompts
These prompts handle permissions, security, and embed lifecycle management.secure-my-embed
secure-my-embed
Permissions, access controls, and role-based guest tokens.Configures what end-users can do within an embed — view, download, create metrics, edit dashboards — and generates guest tokens with the appropriate permission flags.Example asks:
- “Lock down the embed so users can only view”
- “Enable download but disable metric creation”
- “Set up role-based access for admin vs viewer users”
get_embed_details → update_embed (accessSettings) → generate_guest_token (with permissions)See full workflow →enable-metric-creation
enable-metric-creation
Let end-users build metrics with drag-and-drop or AI-powered chat.Enables self-serve analytics by updating embed permissions and configuring the metric creation mode (visual drag-and-drop builder or AI chat mode).Example asks:
- “Enable metric creation on my embed”
- “Let users create metrics with the visual builder”
- “Turn on AI-powered metric creation for end users”
list_embeds → update_embed → configure_embed → diagnose_embed_healthSee full workflow →manage-embeds
manage-embeds
List, compare, and review existing embed configurations.Provides an overview of all your embeds and their settings. Useful for auditing, comparing configurations, or finding specific embed IDs.Example asks:
- “Show me all my embeds and their settings”
- “Compare the configuration of my production and staging embeds”
- “Run a health check on all my embeds”
list_embeds → get_embed_details → diagnose_embed_healthSee full workflow →Related
Workflows
See these prompts in action with end-to-end walkthroughs
Tools Reference
Detailed docs for every tool the prompts use

