> For the complete documentation index, see [llms.txt](https://docs.connected.events/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.connected.events/cookbook/technical-and-support-guides/understanding-the-account-and-login-architecture.md). Agents can also search and read this documentation through its [MCP server](https://docs.connected.events/~gitbook/mcp).

# Understanding the Account & Login Architecture

The Connected platform provides a highly secure and flexible experience for all by separating Accounts and Logins. This guide will illustrate the differences and use cases for each.

## What is a Login?

A **Login** represents the secure credentials a client uses to authenticate themselves. For security, logins are always created by the **client**.

A **Login** can be:

* An email and password combination.
* A social provider, like "Sign in with Google".

{% hint style="warning" %}

### Important to Note

Admins cannot create a Login on behalf of a client.
{% endhint %}

## What is an Account?

An **Account** is the profile for a client within the community. It is the single record that stores all of their information and activity.

An **Account** is what:

* **Represents the Client:** It holds their name, profile picture, bio, and other public-facing information.
* **Stores Their Data:** It tracks their event registrations, group memberships, and content contributions.
* **Is Their Identity:** It's the "who" they are within your community.

## The Relationship Between Logins and Accounts

The Connected platform uses a flexible architecture where **Logins** and **Accounts** have a many-to-many relationship.

* **One Login, Multiple Accounts:** A single Login can be connected to multiple Accounts. This allows a client to sign in once and toggle between different profiles.
* **One Account, Multiple Logins:** A single Account can be connected to multiple Logins. This allows multiple clients to access the same profile using their own unique credentials.

### One Login, Multiple Accounts

This setup allows a single client to maintain multiple profiles in the community using one set of credentials.

**Example**: A client creates a login with their email and password. This Login is connected to two accounts: their personal account and their business account. When the client logs in, they can easily toggle between their personal account and their business account without needing to sign out and sign back in.

### One Account, Multiple Logins

This setup is ideal for teams or groups that need to share a single identity in the community.

**Example**: An account called "Marketing Team" is created. Five team members each have their own login (their own email/password credentials). All five logins are attached to the "Marketing Team" account. When any of the five team members log in with their own credentials, they can access and manage the "Marketing Team" account. If a team member's login is also connected to their personal account, they can toggle between their personal account and the "Marketing Team" account.

## Why This Matters for Your Community

* **Superior User Experience:** Offer clients a seamless experience where they can manage multiple profiles with a single sign-in.
* **Powerful Team Management:** Easily configure access for corporate partners and teams, allowing multiple individuals to manage a shared profile.
* **Enhanced Security:** The architecture maintains a clear separation between a client's private credentials (the Login) and their community-facing profile (the Account).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.connected.events/cookbook/technical-and-support-guides/understanding-the-account-and-login-architecture.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
