# Managing Connections

## Adding a Connection

You can create any combination of connections to different services. New connections are added from the ExpanDrive application settings.

When you select the type of your new connection, you are prompted for the parameters needed for the connection.

Each connection type has its own page with the parameters it needs — see [SFTP](/integrations/sftp.md), [Amazon S3](/integrations/amazon-s3.md), and the other per-service pages in this section.

After you save the new connection information, ExpanDrive immediately connects and displays the contents.

### Mapping Windows Drives

When you define a connection using ExpanDrive on Windows, you can choose whether to assign a drive letter to the connection, and which drive letter to use for each connection.

Assigning a drive letter can make it simpler to interact with multiple connections, or for scripting. Microsoft recommends [using UNC paths rather than drive letters](https://learn.microsoft.com/en-us/windows/win32/services/services-and-redirected-drives) for connecting to remote systems.

## Removing Connections

You can remove your defined connections from the ExpanDrive application settings.

If you've used the [Offline Sync](/offline-sync-mode.md) feature to download any files to your local system, the mounted folder with those downloaded files remains on your local device after the connection is removed. Once you delete the downloaded contents, the folder is removed automatically.


---

# Agent Instructions: 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:

```
GET https://docs.expandrive.com/integrations/managing-connections.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
