# Link Creation Widget or API

Our Link Creation Widget or Create API enables projects and marketplaces to allow their users to create MintGate token gated links, directly on their platform.

### Use Case Example

An NFT marketplace wants to help its creators create more utility for their NFTs. They add the form to create MintGate [token gated links](https://mintgate.gitbook.io/mintgate-docs/direct-integrations/broken-reference) to creator dashboards so creators can create token gated links with their NFTs directly on the platform without visiting MintGate.

### Widget vs. API

We offer the form in a downloadable React widget library or a Create Link API. You utilize either depending on your customization needs and tech stack.

### Widget

Link to NPM package of Widget and documentation: <https://www.npmjs.com/package/@mintgate/react-mintgate>

#### Value to widget integration

* Less development work since only widget download required
* However, must utilize the style and brand that MintGate offers in the widget and is only available for React Javascript

#### How It Works

1. Create or log in to your MintGate account at <https://mintgate.app>.
2. You can access developer Widget keys [here](https://www.mintgate.app/token_api) or at <https://www.mintgate.app/token_api>
3. Pass the value of your Widget key as a key to the `jwttoken` parameter.
4. You can review <https://www.npmjs.com/package/@mintgate/react-mintgate> for more details.&#x20;

#### Example of Token Gated Form:

{% embed url="<https://codesandbox.io/embed/create-token-gated-link-form-rnvlm?fontsize=14&hidenavigation=1&theme=dark>" %}

### Create API

Link to Create API doc: <https://mgate.io/docs/#/default/GenLink>

#### Value to Create API

* Allow for custom created form
* Use any tech stack that allows for POST API integration
* However, more development work since the developer must create and style a form

{% hint style="info" %}
If you have questions or need support, message us on Discord at [discord.gg/HVsbWZfrFQ](https://t.co/4O0TR4KvQf?amp=1) or email us at <support@mintgate.io>.&#x20;
{% endhint %}
