# Getting started

To get started, install the [authereum](http://npmjs.com/authereum) package from NPM:

```bash
npm install authereum 
```

Now instantiate Authereum with the desired network:

```javascript
import Authereum from 'authereum'

const authereum = new Authereum('kovan')
```

If you're used to using Web3.js for your dapp, Authereum can be a drop-in replacement web3 provider.

```javascript
import Authereum from 'authereum'
import Web3 from 'web3'

const authereum = new Authereum('kovan')

const provider = authereum.getProvider()
const web3 = new Web3(provider)

await provider.enable()

const accounts = await web3.eth.getAccounts()
console.log(accounts[0])
```

That's it!&#x20;

You can make web3 calls as you normally would. Take a look at more [web3 provider examples](/web3-provider.md).

{% content-ref url="/pages/-Lu-Yjsb12c254kb1gy\_" %}
[Web3 provider](/web3-provider.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.authereum.com/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
