# Introduction & Quick Start

Source: https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/introduction

Welcome to the official documentation for the **Nextcloud Exchange Connector**.

## What is the Connector?

The connector is a decoupled, high-performance **microservice** designed to run in the background. It acts as a bidirectional protocol translator, automatically synchronizing **Calendars** and **Contacts** between Nextcloud (CalDAV/CardDAV) and Microsoft Exchange (Exchange Web Services or Microsoft Graph) without impacting your Nextcloud web server's performance.

## Quick Onboarding

To get your synchronization engine running as quickly as possible, follow this exact sequence:

### Step 1: Preparation (Authentication)

You cannot start the application without access keys. First, configure your environments to generate your credentials.

- Go to: [Configuring M365 Exchange Web Services (EWS)](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/exchange-setup-guide) OR [Configuring Exchange On-Premise](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/configuring-exchange-on-premise) OR[ Configuring M365 Exchange with Microsoft Graph](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/configuring-graph-api).
- Go to: [Configuring Nextcloud](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/configuring-nextcloud)

### Step 2: Installation (Deployment)

Once you have your Microsoft and Nextcloud credentials, deploy the worker service using your preferred infrastructure.

- Go to: [Deployment &amp; Installation Guides](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/deploying-via-docker-single-instance)

### Step 3: Verification (Logging &amp; Monitoring)

Verify that the service is running.

- Go to: [Logging &amp; Monitoring](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/logging-overview)

### Step 4: Granting User Access

Instruct your users to activate their synchronization.

- Go to: [Granting User Access (Consent Flow)](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/granting-user-access)

## Where to Find What You Need

Jump directly to the guide that solves your current problem:

- **"I need to configure Microsoft 365 / Azure AD..."**   
    Read: [Configuring Exchange Web Services (EWS)](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/exchange-setup-guide)

- **"I need to configure Exchange 2016/2019..."**   
    Read: [Configuring Exchange On-Premise](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/configuring-exchange-on-premise)
- **"Synchronization is slow or takes longer than expected"**   
    Read: [Managing Service Accounts (admins.json)](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/managing-exchange-service-accounts)
- **"I want to change what data gets synced..."**   
    Read: [Configuring the .env File](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/configuring-the-env-file)
- **"I am upgrading from the legacy application..."**   
    Read: [Migrating from Legacy](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/migrating-from-legacy)
- **"I want to understand how the backend works..."**   
    Read: [Understanding the Architecture](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/understanding-the-architecture)

## Key Concepts &amp; Best Practices

To ensure a stable deployment, remember that your `.env` file is your Single Source of Truth for all configurations. For large deployments, we highly recommend using multiple service accounts to scale your synchronization throughput.

For a deeper dive into how the backend engine and scaling work, read our [Understanding the Architecture](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/understanding-the-architecture) article.

## Support &amp; Troubleshooting

If the synchronization stops or the container fails to start:

1. **Check the Logs First:** The application uses Serilog to output highly detailed diagnostics. Depending on your `.env` configuration, check your Docker console, file system, or Grafana dashboard.   
    See [Logging &amp; Monitoring](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/logging-overview) to know more about supported logging options and exact commands.

1. **Verify the Shared Secret:** The #1 cause of deployment failure is a typo in the `SharedSecret` between Nextcloud and the `.env` file.
2. **Contact Support:** If you cannot resolve the issue, gather your log files (ensuring no sensitive personal data is included) and open a ticket with the [Sendent Support Desk](https://sendent.freshdesk.com/support/tickets/new).

## Next Step

Choose your platform: [Configuring Exchange Web Services (EWS)](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/exchange-setup-guide) OR [Configuring Exchange On-Premise](https://help.sendent.com/sendent-nextcloud-workspace/nextcloud-for-exchange/configuring-exchange-on-premise)
