> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/component-basics/inserting-dynamic-text.md).

# Magic Text

## Learn About Magic Text

Magic Text is a foundational aspect of Adalo that you must understand in order to create a dynamic and engaging app that is designed well & performant. Magic Text pulls data from the database to display in the app without replicating designs for each record item in the database.

Magic Text is truly :sparkles:Magic:sparkles:

{% embed url="<https://youtu.be/JBqBt_0Kb80>" %}

In components that display text, in the toolbar below the text box, you will see the Magic Text icon:<img src="/files/-LmeTTt160m0ufbLUoTL" alt="" data-size="line"> Clicking this will show you what Magic Text you can add to your component.

Magic Text will automatically be replaced with text from your App's Database.  For example, if your screen is showing details for a Trip, you can use Magic Text to show the Trip's Name.

You can display Magic Text for the Logged in User, any item in a list, or any list item that links to the screen you're on.

For example, if you have a travel app that displays options for trips, and you want the user to be able to click on a particular trip and open a screen with more detailed information on that trip:&#x20;

1. Insert text boxes, images, or other components
2. Select the Magic Text icon from your text box's toolbar
3. Choose the database Collection and the Property you want to add as Magic Text
4. Click on 'Preview' to make sure the Magic Text works

![](/files/-MRvDM8r85NdOmhijfZp)

![Step 4](/files/-LioAWe66HytJ5Ri3T6V)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.adalo.com/component-basics/inserting-dynamic-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
