> For the complete documentation index, see [llms.txt](https://docs.eueno.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eueno.io/eueno-libraries/eueno-lib-browser/setup.md).

# Setup

## 1. initEndpoint()

First, you have to initialize the endpoint of API.

## Syntax

```javascript
initEndpoint: (_endpoint: string, _webseedUrl?: string)
```

## Parameters

<table><thead><tr><th width="161">Name</th><th width="84">Type</th><th width="109">Required</th><th>Description</th></tr></thead><tbody><tr><td>_endpoint</td><td>string</td><td>Yes</td><td>Endpoint of API. You can get the endpoint from <a href="/pages/4tgp5GhPRmbcf61JOJ43">here</a><a href="/pages/4tgp5GhPRmbcf61JOJ43">.</a></td></tr><tr><td>_webseedUrl</td><td>string</td><td>No</td><td><p>Webseed URL. Default value is:</p><pre><code>https://node1-gateway-ipfs.eueno.io/ipfs/
</code></pre></td></tr></tbody></table>

## 2. Adding EuenoProvider

We will enable **`eueno`** library services by rendering a **\<EuenoProvider>** **component around our entire** **\<App>**.

## Example

Let's add that to our `App.js` file:

```javascript
import React from "react";
import { EuenoProvider, initEndpoint } from "@eueno/lib-browser";
import { Test } from "./Test";
const ENDPOINT = "https://v2-developers.eueno.io/";

function App() {
  useEffect(() => {
    initEndpoint(ENDPOINT);
  }, []);
  
  return (
    <EuenoProvider>
      <Test />
    </EuenoProvider>
  );
}

export default App;
```
