> ## Documentation Index
> Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Connect Only Mode

### Setup

By default, the SDK will authenticate all users which means users will need to
sign when logging in. This page describes how you can remove the authentication
step and allow users to just connect their wallets to log into your site.

### Usage

#### initialAuthenticationMode (optional)

If you want to skip signing a message and just connect, then set the
`initialAuthenticationMode` to `connect-only`.

```js TypeScript
import { useDynamicContext } from "@dynamic-labs/sdk-react-core";

<DynamicContextProvider
  settings={{
    initialAuthenticationMode: 'connect-only',
    ...
  }}
>
  {...}
</DynamicContextProvider>
```

#### enableVisitTrackingOnConnectOnly (optional)

If you are using the `connect-only` mode, then you also have the option to
disable visitor tracking by setting `enableVisitTrackingOnConnectOnly` to false.

If you set this to `false` then we will not track visitors. Note that you will
not be able to see visitor information in our visitors table or analytics page.

```js TypeScript
import { useDynamicContext } from "@dynamic-labs/sdk-react-core";

<DynamicContextProvider
  settings={{
    initialAuthenticationMode: 'connect-only',
    enableVisitTrackingOnConnectOnly: false,
    ...
  }}
>
  {...}
</DynamicContextProvider>
```

### useIsLoggedIn

The [useIsLoggedIn](/react-sdk/hooks/login-user-management/useisloggedin#useisloggedin) hook determines whether a user is logged in or not by returning a boolean value you can use to determine if the user has connected their wallets. The hook needs to be initialized within a child of [DynamicContextProvider](/react-sdk/providers/dynamiccontextprovider).

#### User Management & Analytics

Any user who connect, but does not authenticate, will appear in your dashboard
as a `Visitor`. You'll be able to see them in your
[user management table](https://app.dynamic.xyz/dashboard/users/visitors) or in
[analytics](https://app.dynamic.xyz/dashboard/analytics) under as `Visitors`.
