BIconnector: Overview of Methods

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

BIconnector is a Bitrix24 module that provides methods for connecting external data sources and adapting them for the "Analyst Workspace" section.

In the BIconnector section, there are three groups of methods available: connectors, sources, and datasets. They form a unified workflow for working with data, from setting up the connection to the external service to obtaining a dataset for reporting.

Quick navigation: all methods

User documentation: BI Builder: Analytics hub

Methods only work in the context of the application.

Connectors

A connector defines the rules for integration with an external system. It specifies which endpoints to use to check access, retrieve table structures, and load data. The connector also indicates which authorization parameters need to be requested from the source.

The connector does not store a connection to a specific database or API. It acts as a template that can be reused for multiple sources of the same type. For example, a single MySQL connector can connect to several different MySQL databases.

To work with connectors, use the methods biconnector.connector.*.

Sources

A source is a working connection created based on a connector.

The source is linked to the connector via connectorId and stores specific values for connection parameters: URL, login, password, and other settings described in the connector. This allows one connector to be used to create multiple sources with different parameters, such as for test and production databases.

To work with sources, use the methods biconnector.source.*.

Datasets

A dataset is a description of the data set that is transferred from the source to the "Analyst Workspace."

The dataset is linked to the source via sourceId and defines the data structure for analytics: which fields are available, their types, and how the data can be requested. From one source, separate datasets can be created for use in different reports.

To work with datasets, use the methods biconnector.dataset.*.

User Documentation

Getting Started

  1. Create a connector using the method biconnector.connector.add to set the integration parameters and the URL of the external endpoints.
  2. Create a source using the method biconnector.source.add and pass the connectorId of the desired connector.
  3. Create a dataset using the method biconnector.dataset.add, then configure its fields via biconnector.dataset.fields.update.

Verification and Debugging

To check the current structure at each level, use the *.fields methods:

Overview of Methods

Scope: biconnector

Who can execute methods: a user with access to the "Analyst Workspace" section

Connectors

Method

Description

biconnector.connector.add

Adds a new connector

biconnector.connector.update

Updates an existing connector

biconnector.connector.get

Retrieves information about the connector

biconnector.connector.list

Retrieves a list of available connectors

biconnector.connector.delete

Deletes a connector

biconnector.connector.fields

Retrieves the description of the connector fields

Sources

Method

Description

biconnector.source.add

Adds a new source

biconnector.source.update

Updates an existing source

biconnector.source.get

Retrieves information about the source

biconnector.source.list

Retrieves a list of available sources

biconnector.source.delete

Deletes a source

biconnector.source.fields

Retrieves the description of the source fields

Datasets

Method

Description

biconnector.dataset.add

Adds a new dataset

biconnector.dataset.update

Updates an existing dataset

biconnector.dataset.get

Retrieves information about the dataset

biconnector.dataset.list

Retrieves a list of available datasets

biconnector.dataset.delete

Deletes a dataset

biconnector.dataset.fields

Retrieves the description of the dataset fields

biconnector.dataset.fields.update

Updates the fields of the dataset