> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.cohere.com/v1/docs/build-things-with-cohere/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cohere.com/_mcp/server. # Build an Onboarding Assistant with Cohere! > This page describes how to build an onboarding assistant with Cohere's large language models. Welcome to our hands-on introduction to Cohere! This section is split over seven different tutorials, each focusing on one use case leveraging our Chat, Embed, and Rerank endpoints: * Part 1: Installation and Setup (the document you're reading now) * [Part 2: Text Generation](/docs/text-generation-tutorial) * [Part 3: Chatbots](/docs/building-a-chatbot-with-cohere) * [Part 4: Semantic Search](/docs/semantic-search-with-cohere) * [Part 5: Reranking](/docs/reranking-with-cohere) * [Part 6: Retrieval-Augmented Generation (RAG)](/docs/rag-with-cohere) * [Part 7: Agents with Tool Use](/docs/building-an-agent-with-cohere) Your learning is structured around building an onboarding assistant that helps new hires at Co1t, a fictitious company. The assistant can help write introductions, answer user questions about the company, search for information from e-mails, and create meeting appointments. We recommend that you follow the parts sequentially. However, feel free to skip to specific parts if you want (apart from Part 1, which is a pre-requisite) because each part also works as a standalone tutorial. ## Installation and Setup The Cohere platform lets developers access large language model (LLM) capabilities with a few lines of code. These LLMs can solve a broad spectrum of natural language use cases, including classification, semantic search, paraphrasing, summarization, and content generation. Cohere's models can be accessed through the [playground](https://dashboard.cohere.ai/playground/generate?model=xlarge&__hstc=14363112.d9126f508a1413c0edba5d36861c19ac.1701897884505.1722364657840.1722366723691.56&__hssc=14363112.1.1722366723691&__hsfp=3560715434) and SDK. We support SDKs in four different languages: Python, Typescript, Java, and Go. For these tutorials, we'll use the Python SDK and access the models through the Cohere platform with an API key. To get started, first install the Cohere Python SDK. **`PYTHON`** ```python PYTHON ! pip install -U cohere ``` Next, we'll import the `cohere` library and create a client to be used throughout the examples. We create a client by passing the Cohere API key as an argument. To get an API key, [sign up with Cohere](https://dashboard.cohere.com/welcome/register) and get the API key [from the dashboard](https://dashboard.cohere.com/api-keys). **`PYTHON`** ```python PYTHON import cohere # Get your API key here: https://dashboard.cohere.com/api-keys co = cohere.Client(api_key="YOUR_COHERE_API_KEY") ``` # Accessing Cohere from Other Platforms The Cohere platform is the fastest way to access Cohere's models and get started. However, if you prefer other options, you can access Cohere's models through other platforms such as Amazon Bedrock, Amazon SageMaker, Azure AI Studio, and Oracle Cloud Infrastructure (OCI) Generative AI Service. Read this documentation on [Cohere SDK cloud platform compatibility](/docs/cohere-works-everywhere). In this sections below we sketch what it looks like to access Cohere models through other means, but we link out to more extensive treatments if you'd like additional detail. ## Amazon Bedrock The following is how you can create a Cohere client on Amazon Bedrock. For further information, read this documentation on [Cohere on Bedrock](/docs/cohere-on-aws#amazon-bedrock). **`PYTHON`** ```python PYTHON import cohere co = cohere.BedrockClient( aws_region="...", aws_access_key="...", aws_secret_key="...", aws_session_token="...", ) ``` ## Amazon SageMaker The following is how you can create a Cohere client on Amazon SageMaker. For further information, read this documentation on [Cohere on SageMaker](/docs/cohere-on-aws#amazon-sagemaker). **`PYTHON`** ```python PYTHON import cohere co = cohere.SagemakerClient( aws_region="us-east-1", aws_access_key="...", aws_secret_key="...", aws_session_token="...", ) ``` ## Microsoft Azure The following is how you can create a Cohere client on Microsoft Azure. For further information, read this documentation on [Cohere on Azure](/docs/cohere-on-microsoft-azure). **`PYTHON`** ```python PYTHON import cohere co = cohere.Client( api_key="...", base_url="...", ) ``` In Part 2, we'll get started with the first use case - [text generation](/docs/text-generation-tutorial). > Cohere's API documentation helps developers easily integrate natural language processing and generation into their products. ## Docs - [Cohere Text Generation Tutorial](https://docs.cohere.com/docs/text-generation-tutorial.md): This page walks through how Cohere's generation models work and how to use them. - [Building a Chatbot with Cohere](https://docs.cohere.com/docs/building-a-chatbot-with-cohere.md): This page describes building a generative-AI powered chatbot with Cohere. - [Semantic Search with Cohere Models](https://docs.cohere.com/docs/semantic-search-with-cohere.md): This is a tutorial describing how to leverage Cohere's models for semantic search. - [Master Reranking with Cohere Models](https://docs.cohere.com/docs/reranking-with-cohere.md): This page contains a tutorial on using Cohere's ReRank models. - [Building RAG models with Cohere](https://docs.cohere.com/docs/rag-with-cohere.md): This page walks through building a retrieval-augmented generation model with Cohere. - [Building a Generative AI Agent with Cohere](https://docs.cohere.com/docs/building-an-agent-with-cohere.md): This page describes building a generative-AI powered agent with Cohere.