> For the complete documentation index, see [llms.txt](https://docs.openreview.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openreview.net/getting-started/using-the-api/installing-and-instantiating-the-python-client.md).

# Installing and Instantiating the Python client

1. You will need to install the **openreview-py** package.&#x20;

```bash
pip install openreview-py
```

2\. Create a client object with your OpenReview credentials. If you do not yet have an OpenReview profile, [you will need to make one now](/getting-started/creating-an-openreview-profile/signing-up-for-openreview.md).&#x20;

```python
import openreview

# API V2
client = openreview.api.OpenReviewClient(
    baseurl='https://api2.openreview.net',
    username=<your username>,
    password=<your password>
)

# API V1
client_v1 = openreview.Client(
    baseurl='https://api.openreview.net',
    username=<your username>,
    password=<your password>
)
```


---

# 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:

```
GET https://docs.openreview.net/getting-started/using-the-api/installing-and-instantiating-the-python-client.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.
