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

# Introduction

> Access your agentic markdown documentation data with our powerful TypeScript SDK

# The TypeScript SDK

The official TypeScript SDK for accessing agentic markdown documentation data from The Prompting Company platform. Build powerful applications that leverage your organization's documentation with full type safety and excellent developer experience.

## Getting Started

Get up and running with the SDK in just a few minutes.

> [card] [Start with the SDK](https://docs.promptingcompany.com/ts-sdk/installation.md)
>
> Install the SDK and configure your development environment.

## Key Features

Everything you need to integrate your documentation data.

> [card] [TypeScript SDK](https://docs.promptingcompany.com/ts-sdk/introduction.md)
>
> Full TypeScript support with complete type safety and autocompletion.

> [card] [Easy Installation](https://docs.promptingcompany.com/ts-sdk/installation.md)
>
> Install with npm, yarn, or pnpm and configure in minutes.

> [card] [Quick Start Guide](https://docs.promptingcompany.com/ts-sdk/quickstart.md)
>
> Build your first integration with step-by-step instructions.

> [card] [Advanced Usage](https://docs.promptingcompany.com/ts-sdk/advanced-usage.md)
>
> Learn advanced patterns, caching, and optimization techniques.

## Simple Integration

Access your documentation data with just a few lines of code:

```typescript theme={null}
import tpc from "@promptingcompany/sdk";

const client = new tpc({
  productSlug: "your-product-slug",
  organizationSlug: "your-organization-slug",
});

const doc = await client.document.getByPath("en-us/contact");

if (doc.ok) {
  console.log(doc.data?.content);
}
```

## Next Steps

> [card] [View the Complete Guide](https://docs.promptingcompany.com/ts-sdk/introduction.md)
>
> Learn about all SDK features and capabilities.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.