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

# Genkit SDK

> AI Identity for B2B Genkit SDK makes it easy for developers to integrate with and secure AI agent workflows using Genkit.

## [Auth0 AI for Genkit](https://github.com/auth0/auth0-ai-js/tree/main/packages/ai-genkit)

This SDK provides building blocks for using AI Identity for B2B with [Genkit](https://firebase.google.com/docs/genkit). Includes a RAG Retriever for using OpenFGA, tools for implementing asynchronous user authentication, tools for getting access tokens for third-party connections, and [OpenFGA-based](https://openfga.dev/) tool authorizers. It supports:

* A RAG Retriever for using OpenFGA
* [OpenFGA-based](https://openfga.dev/) tool authorizer and re-ranker

```bash wrap lines theme={null}
npm install @auth0/ai-genkit
```

## Sample applications

Checkout our sample applications for Genkit.

> **[AI Samples](https://github.com/auth0-samples/auth0-ai-samples)**
>
> Explore our repository of standalone sample applications that showcase
> Auth0's authentication and authorization capabilities in generative AI
> applications. Each sample demonstrates a specific AI Identity for B2B feature.

> **[Auth0 AI SDK Samples](https://github.com/auth0/auth0-ai-js/tree/main/examples)**
>
> Explore example applications that accompany Auth0's JavaScript AI SDKs.
> These demonstrate recommended implementation patterns for the SDKs.

## Guides & Tutorials

Checkout our guides for Genkit in TypeScript.

> **[Check Google Calendar Availability](https://auth0.com/ai/docs/how-tos/check-google-calendar-availability.md)**

> **[List GitHub Repositories](https://auth0.com/ai/docs/how-tos/list-github-repositories.md)**

> **[List Slack Channels](https://auth0.com/ai/docs/how-tos/list-slack-channels.md)**
