# Private Deployment Usage

> This page describes how to use Cohere's SDK to access privately deployed Cohere models.

You can use Cohere's SDK to access privately deployed Cohere models.

## Installation

To install the Cohere SDK, choose from the following 4 languages:

<Tabs>
  <Tab title="Python">
    ```bash
    pip install -U cohere
    ```

    [Source](https://github.com/cohere-ai/cohere-python)
  </Tab>

  <Tab title="TypeScript">
    ```bash
    npm i -s cohere-ai
    ```

    [Source](https://github.com/cohere-ai/cohere-typescript)
  </Tab>

  <Tab title="Java">
    ```gradle
    implementation 'com.cohere:cohere-java:1.x.x'
    ```

    [Source](https://github.com/cohere-ai/cohere-java)
  </Tab>

  <Tab title="Go">
    ```bash
    go get github.com/cohere-ai/cohere-go/v2
    ```

    [Source](https://github.com/cohere-ai/cohere-go)
  </Tab>
</Tabs>

## Getting Started

The only difference between using Cohere's models on private deployments and the Cohere platform is how you set up the client. With private deployments, you need to pass the following parameters:

* `api_key` - Pass a blank value
* `base_url` - Pass the URL of your private deployment

```python PYTHON
import cohere

co = cohere.ClientV2(
    api_key="",  # Leave this blank
    base_url="<YOUR_DEPLOYMENT_URL>",
)
```

To get started with example use cases, refer to the following quickstart examples:

* [Text Generation (Command model)](https://docs.cohere.com/docs/text-gen-quickstart)
* [RAG (Command model)](https://docs.cohere.com/docs/rag-quickstart)
* [Tool Use (Command model)](https://docs.cohere.com/docs/tool-use-quickstart)
* [Semantic Search (Embed model)](https://docs.cohere.com/docs/sem-search-quickstart)
* [Reranking (Rerank model)](https://docs.cohere.com/docs/reranking-quickstart)

## Integrations

You can use the LangChain library with privately deployed Cohere models. Refer to the [LangChain section](https://docs.cohere.com/docs/chat-on-langchain#using-langchain-on-private-deployments) for more information on setting up LangChain for private deployments.