> For the complete documentation index, see [llms.txt](https://docs.dappkit.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dappkit.dev/start-building/how-to-guides/create-web3connection.md).

# Create a Web3Connection

A very simple way to connect your app to the web3 Environment

```javascript
 import { Web3Connection } from '@taikai/dappkit';

const web3Connection = new Web3Connection({ 
 web3Host: 'WEB3_LINK',
 /* privateKey: '' */
});

await web3Connection.start();
await web3Connection.connect(); // if a privateKey was provided, can be ignored

console.log("User address", await web3Connection.getAddress());
```

**Looking for more functions**

See all available functions [here](https://sdk.dappkit.dev/classes/Web3Connection.html)
