Custom Connectors

hibase lets you create your custom connectors to fetch data from any service out there that speaks HTTP.

Basics

One connector encapsulates one or more endpoints, which in turn can be consumed within workflows as data sources.

Endpoints within connectors define the HTTP call to be made and how the response should be treated. Endpoints that return data should be configured to stream their output to their target.

Before an existing connector (public or custom) can be consumed, it has to be added to the hibase account of your company. We call this step "subscribing" to the connector, as you might have to provide credentials during the process.

Configuration over code

Every hibase connector is simply a configuration of our HTTP framework, which provides poweful functionality such as realtime stream parsing of responses, handling of paginated responses, throttling and more.

We achieve this by parametrizing all parts of an HTTP request (URL, headers, body), as well as the parsing of its response.

Supported formats

hibase can consume any service returning data in JSON, XML or CSV format.

Authentication

Authentication Params

Credentials that should be provided by users when subscribing to a connector are defined as Authentication params within the connector itself and are thereby global to all endpoints.

While creating a custom connector, you can define your own set of authentication params and make any of them required at will.

Authentication Endpoints

Endpoints within connectors can point to an Authentication endpoint. As the name suggests, this endpoint should perform any preparatory authentication call (for example OAuth2), the output of which will be passed on to the requesting endpoint as $auth_output.

Authentication endpoints can also point to an authentication endpoint, thereby allowing the chaining of multiple ones.

Data flattening

Regardless of the format of the data returned by a connector, hibase aims at yielding tabular data that can be easily stored into a relational database. As such, connector endpoints are configured to flatten the data as it's received by the underlying service.