diff --git a/docs/integrations/claude-code.mdx b/docs/integrations/claude-code.mdx index b0de7332d..267b76725 100644 --- a/docs/integrations/claude-code.mdx +++ b/docs/integrations/claude-code.mdx @@ -98,16 +98,29 @@ The `/loop` command runs a prompt or slash command on a recurring schedule insid ## Channels -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: +Chat with Claude Code from Telegram by connecting a bot to your session. Create a bot via [@BotFather](https://t.me/BotFather). + +Install the telegram plugin: + +```shell +/plugin install telegram@claude-plugins-official +``` + +Configure the token: +```shell +/telegram:configure 123456789:ABCdEF... +``` + +Launch with Ollama: ```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. +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. + Other channels may also be added by following the [Claude Code docs](https://code.claude.com/docs/en/channels-reference). ## Manual setup