Component Data Sources
Configure where your component data comes from.
Static Data
Hardcode options directly in the component:
[
{ "label": "Option 1", "value": "opt1" },
{ "label": "Option 2", "value": "opt2" }
]
REST API
Fetch data from external APIs:
- Enter API endpoint URL
- Configure authentication
- Map response fields
- Set cache TTL
Database
Query your database directly:
- Select integration with database access
- Write SQL query
- Map result fields
- Configure caching
Integration
Use connected services:
- Salesforce - Query objects
- HubSpot - Get contacts, deals
- Custom Integration - Use any connected service
Caching
Improve performance with caching:
- Set cache TTL (time to live)
- Refresh on demand
- Invalidate when needed