# Anything

> Add email sending with SendPing to an Anything project by adding the API key as a project secret.

[Anything](https://createanything.com) is a platform for building sites, tools, apps, and projects via chat. You can send email from your Anything project by asking the chat to add email functionality with SendPing.

## 1. Ask Anything to add email

In the chat, ask Anything to add email functionality to your project and have it call the SendPing API. In Node.js projects, the generated function can use the official `sendping` SDK (`npm install sendping`) and call `mb.emails.send(...)`. In other runtimes it sends with a plain HTTP `POST` to `https://www.sendping.co/api/emails`.

## 2. Add your SendPing API key

Anything usually prompts you for an API key. If it doesn't, open the project's **More options** menu and select **Secrets**, then add a new secret:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Name` | string | Yes | Use `SENDPING_API_KEY`. |
| `Value` | string | Yes | Your SendPing API key (e.g. `mb_xxxxxxxxx`), created in the [dashboard](https://www.sendping.co/docs/api-keys/overview). |

> **Warning:** Do not share your API key or expose it in client-side code. Store it as a project secret.

## 3. Add a custom domain

By default you can only send email to your own address. To send to other recipients, [add and verify a custom domain](https://www.sendping.co/docs/add-a-domain), then update the `from` field in the function to use an address on that domain.
