# Hatchbuck

## Overview

The tray.io Hatchbuck connector allows you to manage contacts and campaigns in Hatchbuck.

## Authentication

When using the Hatchbuck connector, the first thing you will have to do is click on 'New Authentication' in the step editor:
![add-auth](https://tray.ai/documentation/images/connectors/service/hatchbuck/3298fc27-550b03d3_../../../../../images/add-auth.png)
Enter the API key for your account which you can find under Account Settings > Data > API:
![hatchbuck-api-key](https://tray.ai/documentation/images/connectors/service/hatchbuck/3298fc27-1b31aba2_hatchbuck-api-key.png)

## Available Operations

The examples below show one or two of the available connector operations in use.
Please see the [Full Operations Reference](#operationsFull) at the end of this page for details on all available operations for this connector.

## Example

The following workflow has been created using a Manual Trigger and three operations from the Hatchbuck connector.
Use the **Start campaign** operation to start a campaign for a contact in your account (note we have switched to the **Debug** tab to view the output) entering an email address in your Contacts and a Campaign that has already been created:
![hatchbuck-start-campaign](https://tray.ai/documentation/images/connectors/service/hatchbuck/3298fc27-2a4c53ca_hatchbuck-start-campaign.png)
We can now use the **List campaigns** operation to see that the campaign has been started for the user, as the output will show the name of the campaign we started:
![hatchbuck-list-campaigns](https://tray.ai/documentation/images/connectors/service/hatchbuck/3298fc27-b8fcbe37_hatchbuck-list-campaigns.png)
We can then stop the campaign with the **Stop campaigns** operation by using the same email address and campaign name:
![hatchbuck-stop-campaigns](https://tray.ai/documentation/images/connectors/service/hatchbuck/3298fc27-4b5c5931_hatchbuck-stop-campaigns.png)
