# Constructor

There are two ways to create a new instance of Cloudflare-DDNS-Sync:

#### 1. Using a Cloudflare API-Token

```typescript
const cddnss = new CloudflareDDNSSync({
  token: 'your-cloudflare-token',
});
```

#### 2. Using your Email and your API Key

```typescript
const cddnss = new CloudflareDDNSSync({
  email: 'your-cloudflare-email',
  key: 'your-cloudflare-key',
});
```
