diff --git a/docs/integrations/claude-code.mdx b/docs/integrations/claude-code.mdx index 3040fc121..3e287b5e6 100644 --- a/docs/integrations/claude-code.mdx +++ b/docs/integrations/claude-code.mdx @@ -96,6 +96,18 @@ The `/loop` command runs a prompt or slash command on a recurring schedule insid /loop 1h Remind me to review the deploy status ``` +## Telegram + +Chat with Claude Code from Telegram by connecting a bot to your session. Install the [Telegram plugin](https://github.com/anthropics/claude-plugins-official), create a bot via [@BotFather](https://t.me/BotFather), then launch with the channel flag: + +```shell +ollama launch claude -- --channels plugin:telegram@claude-plugins-official +``` + +Claude Code will prompt for permission on most actions. To allow the bot to work autonomously, configure [permission rules](https://code.claude.com/docs/en/permissions) or pass `--dangerously-skip-permissions` in isolated environments. + +See the [plugin README](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram) for full setup instructions including pairing and access control. + ## Manual setup Claude Code connects to Ollama using the Anthropic-compatible API.