What is OptiDev Cloud
OptiDev Cloud is a ready-to-use backend for your app. It gives you everything you need to build real applications:- Database - Store and organize your app’s data (user profiles, orders, messages, etc.)
- Authentication - Let users create accounts and log in securely
- Edge Functions - Run server-side code for things like payment processing or sending emails
- Storage - Store files like images, documents, and videos
Works with OptiDev Agent
OptiDev Agent understands OptiDev Cloud automatically. You can simply describe what you need:- “Create a table to store customer orders with name, email, and order total”
- “Add user login to my app”
- “Create an API endpoint that connects to Stripe for payments”
Activating OptiDev Cloud
Step 1: Open OptiDev Cloud
In your project, click the OptiDev Cloud tab in the left sidebar (cloud icon).Step 2: Choose a Region
Select a region closest to where your users are located:| Region | Best for |
|---|---|
| US East (Ohio) | North America |
| EU Central (Frankfurt) | Europe |
| AP Southeast (Singapore) | Asia |
| AP Southeast (Sydney) | Australia/Oceania |
Step 3: Activate
Click the Activate OptiDev Cloud button. You’ll see a progress bar while your backend is being set up. This usually takes 1-2 minutes. When complete, you’ll see a green Active badge and the dashboard will load.Once activated, OptiDev Cloud is ready to use immediately. OptiDev Agent can start creating tables and functions right away.
The OptiDev Cloud Dashboard
After activation, you’ll see several tabs for managing your backend:Connection Info
Shows your API credentials:- API URL - The web address for your backend
- Publishable Key - Safe to use in your app’s frontend code
- Database Connection - Click “Connect” to see connection details for database tools
Database
Browse and query your data:- See all your tables in the left sidebar
- Click a table to view its data
- Run SQL queries in the editor
- Export data as CSV, JSON, or Excel
Auth
Manage user authentication:- Enable/disable sign-in methods (Email, Phone, Google)
- View registered users
- Configure signup settings
Edge Functions
Manage your server-side code:- See deployed functions
- View execution logs
- Test functions directly
Using OptiDev Agent with OptiDev Cloud
The easiest way to work with OptiDev Cloud is through OptiDev Agent. Just describe what you need in plain language.Creating Tables
Tell OptiDev Agent what data you want to store:“Create a products table with name, description, price, and image URL”OptiDev Agent will:
- Create the table with the right column types
- Set up the database schema
- Show you the table in your dashboard
Adding Authentication
Ask OptiDev Agent to add login:“Add user authentication to my app with email and Google sign-in”OptiDev Agent will:
- Enable the auth providers
- Add sign-in forms to your app
- Connect everything together
Creating API Endpoints
Describe the functionality you need:“Create an API endpoint that accepts payment with Stripe and saves the order to the database”OptiDev Agent will:
- Create an Edge Function with the Stripe integration
- Deploy it to OptiDev Cloud
- Connect it to your frontend
Checking Your Data
Viewing Tables
- Go to the Database tab
- Click any table name in the left sidebar
- Browse rows using the pagination controls at the bottom
Editing Data
- Double-click any cell to edit it
- Press Enter to save or Escape to cancel
- Click Add Row to create a new entry
Running Queries
Type SQL in the editor to search or analyze your data:Viewing Users
- Go to the Auth tab
- You’ll see the sign-in methods configuration
- Registered users appear in the users list
- Email addresses
- When users signed up
- Last sign-in time
- Auth provider used (email, phone, or Google)
Monitoring Edge Functions
Viewing Deployed Functions
- Go to the Edge Functions tab
- Deployed Functions shows all functions running on OptiDev Cloud
- Each function shows its name, version, and last update time
Function Details
Click View Details on any function to see:- Function URL (for calling from your app)
- Execution history
- Recent invocations
Testing Functions
- Click Test next to any deployed function
- Choose the HTTP method (GET, POST, etc.)
- Add any data your function expects
- Click Send Request to see the response
For Developers
Technical Reference
Technical Reference
Environment Variables
When you activate OptiDev Cloud, these environment variables are automatically added to your project’s.env.local:VITE_SUPABASE_URL- Your API endpointVITE_SUPABASE_PUBLISHABLE_KEY- Your public API key
Supabase Client
OptiDev Cloud is built on Supabase. You can use the Supabase JavaScript client directly:src/lib/supabaseClient.ts when you activate OptiDev Cloud.Database Connection
The connection string uses session pooler (port 5432) for full PostgreSQL compatibility. Use it with any PostgreSQL client or ORM.Edge Functions Runtime
Functions run on Deno with TypeScript support. Access secrets viaDeno.env.get('SECRET_NAME').