# How to Use Event

## Overview

<figure><img src="/files/EAtT4fmwmBROP8Rzh7W5" alt="" width="375"><figcaption></figcaption></figure>

Follow these steps:

1. Build an adapter to use the Event REST API, so that your application can register and verify the data in your existing applications.
2. Configure your adapter to use the URL and API key provided for your Event deployment.
3. Your applications Write independent Records or Create Linked Records on the blockchain via your adapter.
4. The resultant location of the operation must be stored in your adapter or your applications and associated with the Record.
5. Anytime later, your applications can check the status of the location (not shown) and verify that the Record is consistent with the blockchain.
6. If the result is mismatched, this is indicative of a fault in your process or your copy of the Record.

This user guide provides cURL and JavaScript examples. cURL can be directly executable in a terminal window and can be easily translated to the language of your choice by cURL converters which are readily available on the internet. The Javascript examples use fetch() from the Fetch API.

The REST API endpoints are described for independent records [here](/nchain-event/independent-records/introduction.md) and for linked records [here](/nchain-event/linked-records/introduction.md).

Pseudocode is provided in tutorials for independent records [here](/nchain-event/independent-records/tutorials.md) and for linked records [here](/nchain-event/linked-records/tutorials.md).


---

# 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.teranode.group/nchain-event/using-event/how-to-use-event.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.
