Now you have the token, pass it to the Mercoa component to authenticate your user and render the Mercoa AP inbox.
You can use the React component if you need full control over the design and layout, or use the embed for a simpler integration.
Customizing the Mercoa Component
The Mercoa drop-in component is designed to be customized without needing to write any code. Currently, customization is controlled by the JWT token you pass to the component. In the future, we will add additional customization options.
Customizing the Mercoa Component with a JWT Token
When you generate a JWT token, you can pass in additional options in the request body: