# Storage overview

Where your Alter Ego memory can live, and how to choose.

When you first connect, you get a page to choose one storage. Sign in with that provider and approve the access shown. You can connect a different storage later with a separate connection.

:::note
Alter Ego asks for the narrowest access each provider offers. For OneDrive, Dropbox and Google Drive that is a single app folder. For SharePoint it is one folder that you choose in a document library.
:::

## Which storage should I choose?

| If you | Choose |
| --- | --- |
| Use a Google account | [Google Drive](/docs/storage/google-drive/) |
| Use a personal or work Microsoft account | [OneDrive](/docs/storage/onedrive/) |
| Want a folder in a work or school document library that you pick | [SharePoint](/docs/storage/sharepoint/) |
| Want every change as a commit, with history and review | [GitHub](/docs/storage/github/) or [Azure DevOps](/docs/storage/azure-devops/) |
| Already keep an agent-context repository | [GitHub](/docs/storage/github/) or [Azure DevOps](/docs/storage/azure-devops/), see [agent-context](/docs/agent-context/) |
| Use Dropbox | [Dropbox](/docs/storage/dropbox/) |
| Run your own object storage | [Azure Blob Storage](/docs/storage/azure-blob/) or [Amazon S3 and compatible](/docs/storage/amazon-s3/) |

## All options

| Storage | Where the memory lives | Access |
| --- | --- | --- |
| [Google Drive](/docs/storage/google-drive/) | Folder `Alter Ego` | `drive.file`, only the folder it creates |
| [OneDrive](/docs/storage/onedrive/) | `Apps/Alter Ego` | App folder permission |
| [SharePoint](/docs/storage/sharepoint/) | A folder in a document library you choose | `Sites.ReadWrite.All`, used only for that folder |
| [GitHub](/docs/storage/github/) | A repository you pick | Alter Ego GitHub App |
| [Azure DevOps](/docs/storage/azure-devops/) | A Git repository, default `alter-ego` | Azure DevOps access of your Microsoft account |
| [Dropbox](/docs/storage/dropbox/) | `Apps/Alter Ego` | Own app folder |
| [Azure Blob Storage](/docs/storage/azure-blob/) | A folder in a container | SAS URL or service principal |
| [Amazon S3 and compatible](/docs/storage/amazon-s3/) | A folder in a bucket | Access key or IAM role |

Whatever you choose, the memory is plain files that you can open yourself, see [Files and layout](/docs/files-and-layout/). To stop, see [Disconnect and revoke](/docs/disconnect/).
