Skip to main content

Getting Started

DronaHQ’s Build With AI experience is designed to help you create apps faster, smarter, and with fewer manual steps. Whether you want to generate entire screens from a sentence or tweak individual components using simple prompts, the AI Chatbot is here to make things smoother.

Set Up Your OpenAI API Key

To begin using the AI features, you need to make sure the platform has access to an OpenAI API key.

  • Go to DronaHQ Cloud.
  • Open your Profile Settings.
  • Navigate to the Integrations tab.
  • Click on OpenAI Account Settings.

From here, you can either:

  • Use DronaHQ’s default OpenAI key — great for quick experimentation.
  • Or bring your own OpenAI key — ideal if you want lower costs or higher usage limits.

To know more refer to our Configure OpenAI keys documentation.

Once your key is added, you’re ready to start building with AI!

Locate the AI Chatbot

Chatbot

Once your API key is set, you can access the AI Chatbot right inside the App Builder.

  • Open the App Builder from your DronaHQ app builder.

  • On the left sidebar, look for the 🪄 AI Chatbot icon .

  • Click it to launch the chat panel and start building with prompts.

    🔑 Configure API Key (First-time setup)

    You can either configure your own OpenAi Api Key or use DronaHQ Api key.

  • Add your own API key (recommended for faster responses and higher credit limits)
  • Using DronaHQ’s API key (ideal for trying out the feature)
  • Top Bar: Shows your app name and feature label ("Build With AI").
  • Tabs: Switch between "Chat" (current session) and "History" (past interactions).
  • Main Area:
    • A personalized greeting.
    • Options to either type prompts or upload images to build apps.
    • Clear pointers on tasks like building UI, updating properties, or replacing controls using natural language.
  • Templates: Ready-to-use templates like "Billing Management System" and "Supply Chain Management" to jumpstart your project.
  • Input Box: Describe your app idea or upload images to generate screens. There's also an Attachment button for uploading templates.
  • Credit balance - Right on the corner of the input box, we can keep track of tokens getting used.

Build Your Application

To start building your app, simply type a prompt like Generate a form to collect attendance using @workshopDB-SD and let AI generate the layout for you.

Chatbot

To know more about creating apps with AI, refer to the Create Apps with AI.

AI Credits Usage Overview

Depending on how you connect your AI models, your credit consumption varies:

  • DronaHQ API Key → Higher credits usage
  • Your LLM Provider API Key → Lower credits usage

AI Chatbot Credit Usage

Below are the number of credits used when conversing with DronaHQ Ai chatbot using either DronaHQ credentials or your credentials when conversing to LLM provider.

FeatureDronaHQYour LLM Provider
Generate UI from Image31
Generate BRD3010
Approve BRD7525
Update Control Properties3010
Single Control Action Flow93
Replace Control6020

AI Assist Credit Usage

Below are the number of credits used when conversing with DronaHQ Ai Assist (🪄) using either DronaHQ credentials or your credentials when conversing to LLM provider.

FeatureDronaHQYour LLM Provider
Bind DB Connector to control using Data Query93
Bind Static/JavaScript to control using Data Query62
Transform JS while Binding Data to control31
Column Formatting31
Raw Data Transform31
Generate SQL Query93
TransformJS in SQL Query31
Custom JavaScript in Dataquery62
Custom JavaScript in Actionflows62
tip

⚡ Using your own LLM Provider Api key gives you up to 3x more efficient credit usage!