---
title: Scaleway
description: Configure the Scaleway Transactional Email adapter.
sidebar:
  icon: "https://cdn.simpleicons.org/scaleway"
---



**[Scaleway](https://www.scaleway.com/en/transactional-email-tem)** · `@opencoredev/email-sdk/scaleway` · [setup guide](/docs/adapters/scaleway)



```ts
import { createEmailClient } from "@opencoredev/email-sdk";
import { scaleway } from "@opencoredev/email-sdk/scaleway";

const email = createEmailClient({
  adapters: [
    scaleway({
      secretKey: process.env.SCALEWAY_SECRET_KEY!,
      projectId: process.env.SCALEWAY_PROJECT_ID!,
    }),
  ],
});
```

## Options

| Option      | Type           | Required | Notes                                   |
| ----------- | -------------- | -------- | --------------------------------------- |
| `secretKey` | `string`       | Yes      | Scaleway secret key.                    |
| `projectId` | `string`       | Yes      | Scaleway project ID.                    |
| `region`    | `string`       | No       | Defaults to `fr-par`.                   |
| `baseUrl`   | `string`       | No       | Defaults to `https://api.scaleway.com`. |
| `fetch`     | `typeof fetch` | No       | Useful for tests or custom runtimes.    |

Scaleway maps address objects, CC/BCC, attachments, custom headers, and `replyTo` through the Transactional Email REST API. Unsupported fields throw before the API call.
