# Using Bware Labs Endpoint in PolkadotJs

The following steps describe how you can use your own endpoint, generated on [app.bwarelabs.com, ](https://app.bwarelabs.com)in the Polkadot.js GUI. The flow below, applies to any of the substrate based networks supported by our platform but for the purpose of this example we will use Astar Tesnet (Dusty)

In order to use your endpoint within Polkadot.Js you will need to generate one first by following the steps from this [tutorial](https://app.gitbook.com/@bwarelabs/s/bware-docs/~/drafts/-MaWxwCEQVixpsNL9NMV/bware-labs-platform-tutorial-1). Once the endpoint is generated and running, copy the WebSocket  endpoint as seen in the image below:

![](/files/-MgtjtdVAc732PPr1Ruw)

Next, go to <https://polkadot.js.org/apps/> and expand the menu on the upper left corner as follows:

![](/files/-MgtrVd-SZfVKzV0y3cN)

Select the development section and find the "Custom endpoint" text input:

![](/files/-MgtrojmJyB4LmElZKxZ)

Add you custom endpoint instead of the official polkadot one, click the "Save" icon, and that's it, you're good to go.

![](/files/-MgtsML6UnqRQBI0IyDF)


---

# 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.bwarelabs.com/tutorials/using-bware-labs-endpoint-in-polkadotjs.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.
