> For the complete documentation index, see [llms.txt](https://developer.barchart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.barchart.com/getting-started/new-users.md).

# New Users

New users receive access to the Openfeed demo servers first. After successful onboarding, we migrate them to the production Openfeed servers.

Demo users cannot subscribe to production exchange-level data. A production subscription request returns a `SubscriptionResponse` with `INSUFFICIENT_PRIVILEGES`.

```
subscriptionResponse {
  status {
    result: INSUFFICIENT_PRIVILEGES
    message: "Demo users must use our demo server at: demo.openfeed.barchart.com"
  }
  exchange: "NYSE"
}
```

### Connect to the demo server

Use `demo.openfeed.barchart.com` when connecting with demo credentials.

{% tabs %}
{% tab title="Python" %}

```python
ofc = openfeed.OpenfeedClient(
    "username",
    "password",
    server="demo.openfeed.barchart.com",
)
```

{% endtab %}

{% tab title="Go" %}

```go
conn := openfeed.NewConnection(openfeed.Credentials{
    Username: "username",
    Password: "password",
}, "demo.openfeed.barchart.com")
```

{% endtab %}

{% tab title="Java" %}

```shell
java -jar target/openfeed-client-1.0.0-SNAPSHOT-shaded.jar \
  -u <username> \
  -p <password> \
  -host demo.openfeed.barchart.com \
  -e CBOT
```

{% endtab %}

{% tab title=".NET" %}

```csharp
var client = OpenfeedFactory.CreateClient(
    new Uri("ws://demo.openfeed.barchart.com/ws"),
    username,
    password,
    listeners);
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developer.barchart.com/getting-started/new-users.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
