TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/botpress/botpress/llms.txt
Use this file to discover all available pages before exploring further.
IntegrationDefinition class defines the structure and capabilities of a Botpress integration. It specifies how the integration connects to external platforms, what channels and actions it provides, and what events it can emit.
Constructor
IntegrationDefinitionProps
Unique identifier for the integration.
Semantic version of the integration.
Human-readable title.
Brief description of the integration.
Path to icon file (SVG recommended).
Path to readme/documentation file.
Primary configuration schema.
Multiple configuration types for different authentication methods.
Channel definitions for message-based communication.
Action definitions that bots can call.
Event definitions the integration can emit.
State definitions for integration, conversation, or user state.
User-level configuration and tags.
Secret definitions for sensitive configuration.
Entity definitions for structured data.
Custom metadata attributes.
Type Definitions
ConfigurationDefinition
ChannelDefinition
MessageDefinition
ActionDefinition
EventDefinition
StateDefinition
EntityDefinition
Methods
extend
Extend an interface with custom entity mappings and overrides.Properties
Integration metadata including SDK version.
Complete Example
integration.definition.ts
See Also
- IntegrationImplementation - Implement integration handlers
- IntegrationSpecificClient - Type-safe API client
- IntegrationContext - Runtime context API