---
title: "ContentstackConfig"
description: "ContentstackConfig"
url: "https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/swift/reference/contentstackconfig"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-21"
---

# ContentstackConfig

## ContentstackConfig

## setEarlyAccess

With the setEarlyAccess header support, you can access features that are part of the early access program.

```
Example:

var config = ContentstackConfig()
let earlyAccess : [String] = ["Taxonomy","Teams"]
config.setEarlyAccess(earlyAccess)
let stack = Contentstack.stack(apiKey: "<API_KEY>", deliveryToken: "<DELIVERY_TOKEN>", environment: "<ENVIRNOMENT>")
```

An optional configuration to override the date decoding strategy that is provided by the the SDK.

An optional configuration to override the TimeZone the SDK will use to decode Date instances. The SDK will use a TimeZone with 0 seconds offset from GMT if this configuration is omitted.

The configuration for the URLSession. Note that HTTP headers will be overwritten internally by the SDK so that requests can be authorized correctly.