---
title: Preconnects
slug: experience/preconnects
docTags: 
createdAt: 2025-04-16T14:13:44.171Z
---

Preconnects can now be configured in the experience.config.json in the purple object, using the preconnects key, e.g.:

```json
{
  "purple": {
    "preconnects": [
      "https://purplemanager.com",
      "https://example.com"
    ]
  }
}
```

They will be added to the head in the following format:

```html
<link rel="dns-prefetch preconnect" href="${preconnect}" crossorigin>
```

