# Connect Google, GitHub and more

Source: https://kilat.host/docs/integrations

Integrations connect your agents to the tools you already use. You connect a service once, then choose which agents may use it. Open **Integrations** in the dashboard sidebar.

## What you can connect

The page has a **Connected** list and an **Available** list. These are the services it can show.

| Service | What your agents can do |
| --- | --- |
| Google | Drive, Docs, Sheets and Slides. Only files your agents create or you choose. |
| GitHub | Code, issues and pull requests in the repositories you choose. |
| Notion | Pages and databases in your Notion workspace. |
| Airtable | Bases and records in your Airtable. |
| Threads | Posts and replies on your Threads account. |
| Instagram | Your Instagram professional account: posts, comments, messages and insights. |
| Cloudflare | DNS for your domains, in your own Cloudflare account. |

A service shows only when it is ready for your workspace. Threads and Instagram are opening step by step, so you may not see them yet. A service that is listed but not ready says "Not available yet."

## Connect a service

1. Create an agent first. With no agent, **Connect** asks you to create one.
2. On **Integrations**, choose **Connect** beside the service.
3. Sign in to the service and say what KilatBot may use.
4. You come back to Integrations. The service is under **Connected**.

- Your agents can use it from their next message.
- An agent can also offer a Connect link in chat or Telegram. The link opens one Connect button, so opening it never starts a sign-in by itself.
- If apps are not available right now, the page says so. Try again later.

## Choose which agents use it

Open a connected service to see an **Agents** list. Each of your agents has a switch. Turn it off and that agent stops using the service. The other agents keep using it.

## Each service

### Google

- You sign in with Google. Your agents can then create and update Docs, Sheets and Slides, and use files you choose.
- They can't see the rest of your Drive. Choose **Choose files** to pick files from Google Drive. Paste the line it gives you to your agent so it knows.
- The page lists what your agents can use in Google. Each row is **On**, or has an **Add** button that asks Google for that permission. Rows appear as they open for your workspace.
- If Google asks you to sign in again, choose **Reconnect**.

### GitHub

- You sign in with GitHub and choose the repositories. Your agents can then read code, issues and pull requests, and ask you before they post anything.
- Only the account's owner or an organization admin can connect it. If you're not one, your request goes to the organization's owners. When one approves it, choose **Connect** again.
- One GitHub account connects to one KilatBot workspace.
- If GitHub suspends the connection, the page says so. Unsuspend it on GitHub to use it again.

### Notion and Airtable

You sign in with the service itself. Your agents can then read and update your Notion pages and databases, or your Airtable bases and records.

### Threads

- Your agents can work with posts, replies, insights and search. You approve every post, reply and delete on its own page. Only the owner or an admin can approve.
- **Auto-reply** is off. When the owner turns it on, a schedule you set can answer replies on your own posts without asking: up to 50 a day, and never the same text twice. Only the workspace owner can change it.

### Instagram

- You need an Instagram Business or Creator account. For messages, turn on **Allow access to messages** in Instagram's settings.
- If Instagram shares several accounts, KilatBot uses one and names it on the page. To use another, disconnect and choose only that one.
- **Posts.** Your agents draft posts. Nothing is posted until you tap **Post to Instagram**. You can edit the caption first.
- **Comments.** New comments on your posts are listed and kept for 30 days. Nothing is sent, hidden or deleted until you tap it.
- **Messages.** Direct messages are listed and kept for 30 days. Nothing is sent until you tap it. Instagram allows a reply only within 24 hours of the person's last message.
- **Auto-reply to comments** is off. When the owner turns it on, a schedule you set can answer comments without asking: up to 10 an hour and 50 a day, and at most 2 a week to one person. Comments with links, other people's @names or complaints always wait for you. Only the workspace owner can change it.

### Cloudflare

- You sign in to Cloudflare once. Then you choose which domains to switch with **Switch to Cloudflare**.
- KilatBot stays your registrar. Cloudflare runs the DNS.
- Cloudflare has its own page, not an agent list, because it is for your domains and not for agents.

## Your approval comes first

Anything an agent changes in a connected service asks you first. You answer in chat or on the page the ask opens. For Threads and Instagram, only the owner or an admin can answer.

## Disconnect

Open the service and choose **Disconnect**. Every agent stops using it. What else happens depends on the service.

| Service | After you disconnect |
| --- | --- |
| Google | KilatBot's access is removed at Google too. If Google can't be reached, remove KilatBot in your Google Account's third-party access. |
| GitHub | KilatBot is uninstalled on GitHub too. If that can't be done, uninstall it in GitHub's settings. |
| Notion, Airtable | Also remove KilatBot in the service's own settings. |
| Threads | Also remove Kilat Threads in Threads, under Settings, then Website permissions. |
| Instagram | You can also remove Kilat Social in Facebook's Business Integrations settings. |
| Cloudflare | Your zones and nameservers stay as they are. |

## Kept on each agent

Two things are not integrations. They stay in each agent's own settings.

- **Telegram bots.** The bot token is set on the agent. See [Connect your agent to Telegram](https://kilat.host/docs/telegram-bot).
- **Model keys.** An agent can use its own key. Without one, it uses Kilat AI.

The Integrations page lists which agents have them. It shows names only, never a value.

## Privacy

- For Google, GitHub, Threads and Instagram, KilatBot keeps the sign-in. Your agent asks KilatBot to act and doesn't hold the token.
- Google: your agents see only files they create and files you choose, not the rest of your Drive.
- Connecting and disconnecting are recorded. The **Activity** list on the [Members](https://kilat.host/docs/members) page shows who did it.

## Who can do what

| Action | Owner | Admin | Member |
| --- | --- | --- | --- |
| See Integrations, connect and disconnect | Yes | Yes | No |
| Turn Threads or Instagram auto-reply on or off | Yes | No | No |

A member doesn't see the page, but the agents they chat with use the workspace's connections.

## Frequently asked questions

### Do I connect a service for every agent?

No. Connect it once, then switch it on or off for each agent.

### Can an agent post for me without asking?

Not by default. Posts, replies, comments and messages wait for your tap. Auto-reply on Threads and Instagram is off until the workspace owner turns it on.

### Can my agent see all my Google Drive?

No. It sees only files it creates and files you choose.

### Is Telegram an integration?

No. A Telegram bot is set up on each agent, not on this page.
