---
description: Connects the SDK with a wallet provider like MetaMask.
---

# Wallet Connection

**Syntax**

{% tabs %}
{% tab title="JavaScript" %}
```javascript
connectWithProvider(ethereumProvider)
```
{% endtab %}
{% endtabs %}



**Parameters**

* <mark style="color:green;">**ethereumProvider:**</mark> Wallet provider (e.g., window.ethereum for MetaMask).



**Example**

{% tabs %}
{% tab title="JavaScript" %}
```javascript
await sdk.connectWithProvider(window.ethereum);
```
{% endtab %}
{% endtabs %}



