> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/projects/experience-cloud-components/show-current-user-in-profile-card.md).

# Show Current User in Profile Card

## Overview <a href="#overview" id="overview"></a>

This tutorial outlines setting up an Avonni Profile Card component on your Salesforce Experience Cloud site to display current user information. This setup helps create personalized user experiences, showcasing relevant information about the logged-in user in an engaging and visually appealing format.

<figure><img src="https://docs.avonnicomponents.com/~gitbook/image?url=https%3A%2F%2F2929066058-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDL6JQuZArjJeQvX2ot4y%252Fuploads%252Fc4j08umKPuck3VaHzPpL%252F2023-11-22_21-43-38.png%3Falt%3Dmedia%26token%3Def352546-bd9e-4c8d-9eeb-e9e86fcd409e&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ab8b244a&#x26;sv=2" alt=""><figcaption><p>Final Result</p></figcaption></figure>

### Interactive Step-by-Step Configuration Guide <a href="#interactive-step-by-step-configuration-guide" id="interactive-step-by-step-configuration-guide"></a>

Expression to use to display current user information: **`{!User.Record.FirstName}`**

{% @arcade/embed flowId="8VkmfNtj8DgfroxFJs3o" url="<https://app.arcade.software/share/8VkmfNtj8DgfroxFJs3o>" %}


---

# 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://docs.avonnicomponents.com/projects/experience-cloud-components/show-current-user-in-profile-card.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.
