---
description: Learn how to inegrate Coindisco Widget on your side.
---

# Widget Integration Methods



***

There are two approaches to including the widget in your website, exchange, wallet or dApp.

* Button opening a new link in a Web Page
* Embedding an iFrame

## Button opening a new link to Coindisco:

You can build a button on your side and point it to a Coindisco domain with your API key included. This will open a new tab for the user with a checkout experience hosted on Coindisco.

You code would end up looking something like this:

`<a href="https://widget.coindisco.com/?publicKey=pk_prod_01JVMKTMUSMDYW48QCZKSI3HYY" target="_blank" >Buy Crypto`

`</a>`

## Embedding an iFrame:

Most of our partners prefer to have the checkout experience embedded inside their own UI. You can achieve this by embedding the iFrame. The snippet to add to your codebase would look something like this:

`<iframe`       &#x20;

`src="https://widget.coindisco.com/?publicKey=pk_prod_01JVMKTMUSMDYW48QCZKSI3HYY"`

&#x20; `title="Coindisco Widget"`

&#x20; `height="650px"`

&#x20; `width="450px"`

`/>`

\


