> For the complete documentation index, see [llms.txt](https://tokenscript.gitbook.io/token-negotiator/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tokenscript.gitbook.io/token-negotiator/learn/active-negotiation-ui.md).

# Active Negotiation (UI)

Active Negotiation with Token Negotiator

The term "active negotiation" refers to the mode setting of Token Negotiator that displays it's own  UI interface (customisable). This setting efficiently allows users to connect their wallet(s) and manage their token collection data.&#x20;

Example usage:

```
const negotiator = new Client({
	type: "active",
	issuers: [{
		contract: "0x107065a122f92636a1358a70a0efe0f1a080a7e5",
		onChain: true,
		fungible: true,
		collectionID: "USX",
		chain: "matic",
	}],
	uiOptions: {
		uiType: "inline"
		openingHeading: "Open a new world of perks, benefits and opportunities with your token.",
		issuerHeading: "Get discount with token",
		repeatAction: "Try Again",
		dismissAction: "Dismiss",
		loadAction: "Load",
		balanceFoundEvent: "Balance found",
		nftsFoundEvent: "NFTS found",
		noTokensFoundEvent: "No tokens found",
		theme: "light",
		position: "bottom-right",
	},
});
```

The "uiOptions" allow for the UI to be shown as an overlay or embedded directly into a page in a chosen location. See the API Reference for the full list of options available.

For support and any questions please reach out to us on [discord](https://discord.com/invite/CfvmYFyujW) or via <sayhi@smarttokenlabs.com>
