Developers

Builder

You can use the builder to easily create a standard Inbenta User interface (UI) inside a div.You can configure configure the components of the builder with the option parameter.

Note

All examples shown are set in a Production environment.

Usage

Before you call the builder, you must declare an Inbenta SDK and its configuration. Use the SDK to call the builder:

sdk.build(target:String, template_name:String, options:Object);

Target

This is the HTML object where you insert the Inbenta template.

Template_name

This selects the Inbenta template. Each template has its own configuration and its specific components.

List of templates:

See here to see the default template.

Options

Each template has its own configuration and its specific components. This object contains the components' options.

Build example code

var sdk = InbentaKmSDK.createFromAccessToken("<your_access_token>", "<your_API_Key>");
sdk.build("#inbenta");