# \[Archive\] Add WalletServicesPlugin

**URL:** <https://builder.metamask.io/t/archive-add-walletservicesplugin/1612>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [February 22, 2024, 3:59pm UTC](https://builder.metamask.io/t/archive-add-walletservicesplugin/1612 "2024-02-22T15:59:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![indirizzo722](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@indirizzo722](https://builder.metamask.io/u/indirizzo722)\
**Post date:** [February 22, 2024, 3:59pm UTC](https://builder.metamask.io/t/archive-add-walletservicesplugin/1612/1 "2024-02-22T15:59:07Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **indirizzo722** on 2/22/2024.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

Hi,  
i have some problemi using WalletServicesPlugin.

I initialized my web3auth istance and then i add the Plugin like this:

```auto
  useEffect(() => {
    console.log('Attempting to initialize Web3Auth:', { web3auth });
    if (web3auth && web3auth.connected) {
      console.log('Adding WalletServicesPlugin:', { web3auth });
      const addPlugins = async () => {
        const walletServicesPlugin = new WalletServicesPlugin();
        web3auth.addPlugin(walletServicesPlugin);
        console.log(
          'walletServicesPlugin added successfully',
          walletServicesPlugin
        );
      };
  addPlugins().catch((error) =&gt;
    console.error('Error adding WalletServicesPlugin:', error)
  );
}

```

All is fine, but the walletServicesPlugin is like this:

```auto
{
    "name": "WALLET_SERVICES_PLUGIN",
    "SUPPORTED_ADAPTERS": [
        "openlogin"
    ],
    "pluginNamespace": "eip155",
    "wsEmbedInstance": {
        "isInitialized": false,
        "modalZIndex": 99999
    },
    "provider": null,
    "web3auth": null,
    "isInitialized": false,
    "walletInitOptions": {}
}

```

with web3auth `null` so nothing work.

Some ideas?

---

<div class="post-metadata">

**Author:** ![TomTom](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@TomTom](https://builder.metamask.io/u/TomTom)\
**Post date:** [February 22, 2024, 9:44pm UTC](https://builder.metamask.io/t/archive-add-walletservicesplugin/1612/2 "2024-02-22T21:44:38Z")

</div>

hi @indirizzo722

It would be great if you can share me more code from your project

But i think you must call

`web3auth.addPlugin(walletServicesPlugin);`

before calling

`await web3auth.init();`
