Skip to main content
profClaw’s provider system is fully extensible. You can create a custom provider to integrate any messaging platform that isn’t built-in.

Overview

Every chat provider in profClaw implements the same ChatProvider interface. Custom providers have the same capabilities as built-in ones:
  • Inbound message handling
  • Outbound message sending
  • Status and health checks
  • Multi-account support

Interface

A chat provider consists of four adapters:

Building a Provider

1

Create the provider file

2

Implement the outbound adapter

3

Implement the inbound adapter

4

Register the provider

Account Configuration

Define a typed config for your provider’s credentials:

Webhook Registration

Register your provider’s webhook route with Hono:

Plugin Distribution

Wrap your custom provider as a profClaw plugin for easy distribution:

Notes

  • Custom providers have the same capabilities as built-in providers.
  • The id field must be unique across all registered providers.
  • Account configuration is stored in profClaw’s settings and can include multiple accounts.
  • For distributing providers to others, use the Plugin SDK and publish to ClawHub.