# Connect via CHAPI

## What is CHAPI?

[CHAPI](https://chapi.io/) (**C**redential **H**andler **API**) is an open source protocol that allows conforming wallets to easily send and receive Credentials and Presentations to each other.

> CHAPI is an open protocol designed to solve the “NASCAR Problem” - too often, users are presented with a fixed set of options for authentication with third-party sites. The CHAPI protocol provides mediation between any CHAPI-enabled web application and a third-party site. Just register your web app with your browser, and off you go!

## Using CHAPI

LearnCard packages up and re-exposes the basic CHAPI methods in an attempt to make it as easy as possible to use LearnCard under the hood for a CHAPI compliant application. To learn how to use LearnCard to become CHAPI compliant, click one of the following links!

{% content-ref url="/pages/9OUXr96cFl5PkSW71flf" %}
[CHAPI Wallet Setup Guide](/how-to-guides/implement-flows/chapi/chapi-wallet-setup-guide.md)
{% endcontent-ref %}

{% content-ref url="/pages/zk9ScZY7S9mndeLVUMZt" %}
[Demo Application](/how-to-guides/implement-flows/chapi/demo-application.md)
{% endcontent-ref %}

{% content-ref url="/pages/VMHxIMHGxFJWs5ovijes" %}
[Using LearnCard to Interact with a CHAPI Wallet](/how-to-guides/implement-flows/chapi/using-learncard-to-interact-with-a-chapi-wallet.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.learncard.com/how-to-guides/implement-flows/chapi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
