Skip to main content

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:

  1. Enter API endpoint URL
  2. Configure authentication
  3. Map response fields
  4. Set cache TTL

Database​

Query your database directly:

  1. Select integration with database access
  2. Write SQL query
  3. Map result fields
  4. 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

Next Steps​