---
title: "initWithConfiguration:"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/cksyncengine-4b4w9/initwithconfiguration:"
---

# initWithConfiguration:

Creates a sync engine with the specified configuration.

## Declaration

```occ
- (instancetype) initWithConfiguration:(CKSyncEngineConfiguration *) configuration;
```

## Parameters

- `configuration`: The attributes of the new sync engine, such as the associated database and the object to use as the engine’s delegate. For more information, see doc://com.apple.cloudkit/documentation/CloudKit/CKSyncEngineConfiguration.

## Return Value

Return Value A configured sync engine.

## See Also

### Creating a sync engine

- [CKSyncEngineConfiguration](cloudkit/cksyncengineconfiguration.md)
