Skip to main content
Method provides a script to seamlessly integrate Elements into your web application.

Installation

Include the initialization script into your application’s main html file.

Configuration

Once the initialization script has been included into your application, create an instance of the Method class.

Configuration Parameters

See Method Elements events for more info.

Launch

Retrieve an element token

Before you can launch an element, you must first create an element_token for the element through the Method API. In this example, we’re creating an element_token for the Connect Element.
See create an element token for more info.

Launch the element

Now that a Method instance and an element_token have been created, you can now launch the element.