← All chapters12 / 17
Using Chirai · Chapter 12
Connections
Connections let a site use data and services from outside — through proper APIs, never by copying other websites. Open them from Manage site → Shop & business → Connections.
Ready-made connections
| Connection | What it gives your site | Needs a key? |
|---|---|---|
| WhatsApp Cloud API | Order and return updates on WhatsApp | Yes |
| Google Maps | Maps and places | Yes |
| Weather, air quality, place search, currency rates, holidays, countries | Live data for pages | No |
| India PIN codes, IFSC codes | Address and bank lookups | No |
| Postcodes, Wikipedia, books | Reference data | No |
Your own API
Add any API you have access to: its address, how it signs in, and your key. Your site then reads it through Chirai's relay, so the key never reaches visitors' browsers. Keys are stored encrypted.
How a connection reaches your pages
- Connect. Here, or automatically: when your description needs live data that a ready-made connection gives (weather, air quality, a city search, exchange rates …), Chirai connects it while it builds and writes the pages to read it.
- Pages read it. Each connection lists the pages that use it. If none does yet, ask IILA in the Studio, e.g. "Show live data from my weather connection on the home page."
- Visitors see it live, in the preview and on the live site; no publish needed. Every answer goes through Chirai, which keeps keys private, and each connection shows how often your site has called it.
Test makes one real call and shows what your site receives.
When your idea needs outside data
If your description mentions data from elsewhere — government portals, airline fares, live prices — IILA asks how it will arrive: an API you have, entered by you in Manage site, or not sure yet. The site keeps that data in its own tables, links to the official source, and reads outside data only through Connections.