> For the complete documentation index, see [llms.txt](https://cddnss.knaup.pw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cddnss.knaup.pw/function-list/constructor.md).

# 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',
});
```
