> ## Documentation Index
> Fetch the complete documentation index at: https://velt.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup

> [tab] React / Next.js
>
> ## 1. Enable Follow Me mode on Presence
>
> Enable `Follow Me` mode feature.
>
> ```js theme={null}
>  <VeltPresence flockMode={true} />
> ```
>
> You need to add the [Presence feature](https://velt.dev/docs/realtime-collaboration/presence/overview.md) to trigger `Follow Me` mode. This will enable `Follow Me` mode as an option for your users globally, wherever `Presence` is shown.
>
> To start the shared `Follow Me` session, click on a user's avatar to start following them.
>
> ## 2. Test Integration
>
> Test it out by opening the target page in two browsers with two different users logged in.
>
> You should see the avatars of the users rendered where you added the `Presence` component. Now click on any avatar to start following them.

> [tab] Other Frameworks
>
> ## 1. Enable Follow Me mode on Presence
>
> Enable `Follow Me` mode feature.
>
> ```html theme={null}
> <velt-presence flock-mode="true"></velt-presence>
> ```
>
> You need to add [Presence feature](https://velt.dev/docs/realtime-collaboration/presence/overview.md) to trigger `Follow Me` mode. This will enable `Follow Me` mode as an option for your users globally, wherever Presence is shown.
>
> To start the shared `Follow Me` session, click on a user's avatar to start following them.
>
> ## 2. Test Integration
>
> Test it out by opening the target page in two browsers with two different users logged in.
>
> You should see the avatars of the users rendered where you added the presence component. Now click on any avatar to start following them.

```js React / Next.js theme={null}
import { VeltPresence } from '@veltdev/react';

export default function App() {

  return (
    <div className="toolbar">
      <VeltPresence
        flockMode={true} {/* 1) Enable Follow Me Mode */}
      />
    </div>
  );
}
```

```html HTML theme={null}
<velt-presence flock-mode="true"></velt-presence> <!-- Enable Follow Me Mode -->
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.