---
title: Segment credentials
description: Documentation for Segment credentials. Use these credentials to authenticate Segment in n8n, a workflow automation platform.
contentType: [integration, reference]
---

# Segment credentials

You can use these credentials to authenticate the following nodes:

- [Segment](/integrations/builtin/app-nodes/n8n-nodes-base.segment.md)

## Prerequisites

Create a [Segment](https://segment.com/) account.

## Supported authentication methods

- API key

## Related resources

Refer to [Segment's Sources documentation](https://segment.com/docs/connections/sources/) for more information about the service.

## Using API key

To configure this credential, you'll need:

- A **Write Key**: To get a Write Key, go to **Sources > Add Source**. Add a **Node.js** source and copy that write key to add to your n8n credential.

Refer to [Locate your Write Key](https://segment.com/docs/connections/find-writekey/) for more information.

