> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up LangSmith

> Host and manage LangSmith infrastructure for observability, evaluation, and prompt engineering.

<div class="home-page mx-auto max-w-8xl px-0 lg:px-5" style={{ paddingBottom: "8rem" }}>
  <div class="mdx-content prose prose-gray dark:prose-invert mx-4 pt-10">
    <h1 class="flex whitespace-pre-wrap group font-semibold text-2xl sm:text-3xl mt-8">Set up LangSmith</h1>

    Set up **LangSmith** for [observability](/langsmith/observability), [evaluation](/langsmith/evaluation), and [prompt engineering](/langsmith/prompt-engineering). LangSmith offers two hosting models: fully managed Cloud, or Self-hosted (Enterprise) for full control.

    If you also want to deploy agents in production, you can use [**LangSmith Deployment**](/langsmith/deployment) with either hosting model.

    <CardGroup cols={2}>
      <Card title="Cloud" cta="Get started" href="/langsmith/cloud" icon="cloud" iconType="solid">
        Fully managed observability, evaluation, and prompt engineering.
      </Card>

      <Card title="Self-hosted" cta="Run self-hosted" href="/langsmith/self-hosted" icon="server" iconType="solid">
        **(Enterprise)** Full control with observability, evaluation, and prompt engineering in your infrastructure.
      </Card>
    </CardGroup>

    <Callout>
      Self-hosted is available on the [Enterprise plan](/langsmith/pricing-plans). [Get a demo](https://www.langchain.com/contact-sales) to learn more.
    </Callout>

    <h2 class="flex whitespace-pre-wrap group font-semibold">Compare Cloud and Self-hosted</h2>

    | Feature                                          | **Cloud**                           | **Self-hosted**                      |
    | ------------------------------------------------ | ----------------------------------- | ------------------------------------ |
    | **Infrastructure location**                      | LangChain's cloud                   | Your infrastructure                  |
    | **Who manages updates**                          | LangChain                           | You                                  |
    | **Observability data location**                  | LangChain cloud                     | Your infrastructure                  |
    | **Pairs with LangSmith Deployment**              | Yes                                 | When you enable LangSmith Deployment |
    | **[Pricing](https://www.langchain.com/pricing)** | Plus tier                           | Enterprise                           |
    | **Best for**                                     | Quick setup, managed infrastructure | Full control, data isolation         |

    Both hosting models support [LangSmith Deployment](/langsmith/deployment) for agent workloads. Refer to the [LangSmith Deployment overview](/langsmith/deployment) to pick a topology (Cloud managed, Hybrid, self-hosted with control plane, or standalone).

    <h2 class="flex whitespace-pre-wrap group font-semibold">Common setups</h2>

    * **Fastest to start, managed everything.** [LangSmith Cloud](/langsmith/cloud) paired with [LangSmith Deployment](/langsmith/deployment) on Cloud. LangChain hosts the platform, and, when you use LangSmith Deployment, also hosts your [Agent Servers](/langsmith/agent-server).
    * **Observability data must stay in your infrastructure.** Self-hosted LangSmith, paired with any LangSmith Deployment topology, including [self-hosted LangSmith Deployment](/langsmith/deploy-with-control-plane) for agent workloads.
    * **Managed observability, agents in your VPC.** LangSmith Cloud paired with [Hybrid](/langsmith/hybrid) LangSmith Deployment. Traces and evaluations stay on SaaS while agent workloads stay in your infrastructure.
    * **Observability only, no agent hosting.** LangSmith Cloud or self-hosted, without LangSmith Deployment. Run your agents wherever you already run apps and send traces to LangSmith.

    <h2 class="flex whitespace-pre-wrap group font-semibold">Related</h2>

    <CardGroup cols={3}>
      <Card title="Account setup" cta="Set up your account" href="/langsmith/admin" icon="user-cog">
        Create an account, manage API keys, and choose a pricing tier.
      </Card>

      <Card title="Plans and pricing" cta="View pricing" href="https://www.langchain.com/pricing" icon="credit-card">
        Compare LangSmith plans and tiers.
      </Card>

      <Card title="Observability" cta="Learn more" href="/langsmith/observability" icon="chart-line">
        Trace and monitor your LLM applications.
      </Card>
    </CardGroup>
  </div>
</div>

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/langsmith/platform-setup.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
