# Chat API

:::callout{intent="note" title="This Guide Uses the Chat Endpoint."}
You can find the API reference for the endpoint [here](https://docs.cohere.com/fern/pages/-ARCHIVE-/api-reference/chat-1/chat.mdx).
:::

In this guide, we show how to use the Chat endpoint to create a simple Chatbot that, given an input query, responds to it considering the previous context.

## Getting Set Up

First, let's install the SDK (the examples below are in Python, Typescript, and Go):

<img src="/current/media/t/75c5dc71-055f-4496-bcaf-6966eeb0b645/p/c4d0babb-28a1-4a78-a85d-f753e1d49ea7/e43ee8d4df946c318955a869594d5d54a12fc444895bf1b3902966d0c3cf21bf.png/raw" alt="">
<img src="/current/media/t/75c5dc71-055f-4496-bcaf-6966eeb0b645/p/c4d0babb-28a1-4a78-a85d-f753e1d49ea7/88e80f511248972bce41f54c87d3652819b475c7ca6cce13089f3586adc63e67.png/raw" alt="">

## Related pages

- [Changelog](../changelog.md)
- [Cohere](../index.md)
- [Cohere API](./cohere-api-index.md)
- [Cohere Labs](./cohere-labs-index.md)
- [Cohere Platform](./cohere-platform-index.md)
- [Cookbooks](./cookbooks-index.md)
- [Deployment Options](./deployment-options-index.md)
- [Embeddings (Vectors, Search, Retrieval)](./embeddings-vectors-search-retrieval-index.md)
- [Get Started](./get-started-index.md)
- [Going to Production](./going-to-production-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
