# Customer Activities

In this part of the exercise, store customer activity information. The customer ID will be read from the customer's account, and relevant activity will be stored in the customer's activity entity. The records will be stored through an API. <br>

{% hint style="info" %}
For this exercise, valid data must be in the customer's entity.
{% endhint %}

Follow the steps to

* Create an entity to store information related to customer activities and name it “UserName\_Acc\_Activities”.&#x20;
* Create an API to create and store records in that entity.&#x20;
* View customer activity records created through the API stored in the “UserName\_Acc\_Activities” entity against a customer ID.


---

# 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.langstack.com/welcome/get-started/learn-langstack/introduction-to-entities/exercise-1-customer-accounts-and-activities/customer-activities.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.
