---
title: Linq
description: iMessage and SMS conversations, media, and tapbacks through Linq.
type: channel
keywords:
  - chat sdk
  - linq
  - imessage
  - sms
  - apple messages
  - tapbacks
  - phone
---

# Linq

Channel integration for eve. iMessage and SMS conversations, media, and tapbacks through Linq.

## Install

Add this Chat SDK channel from eve's registry. This writes `agent/channels/linq.ts` and installs Chat SDK and its adapter dependencies:

```bash
eve add channel/chat-sdk-linq
```

## Quick start

Create `agent/channels/linq.ts`:

```ts
// agent/channels/linq.ts
import { createLinqAdapter } from "@linqapp/chat-sdk-adapter";
import { createMemoryState } from "@chat-adapter/state-memory";
import type { Message, Thread } from "chat";
import { chatSdkChannel } from "eve/channels/chat-sdk";

export const { bot, channel, send } = chatSdkChannel({
  userName: "My Agent",
  adapters: {
    linq: createLinqAdapter({
      apiKey: process.env.LINQ_API_KEY!,
      signingSecret: process.env.LINQ_WEBHOOK_SECRET!,
    }),
  },
  state: createMemoryState(),
});

bot.onNewMention(async (thread: Thread, message: Message) => {
  await thread.subscribe();
  await send(message.text, { thread });
});

bot.onSubscribedMessage(async (thread: Thread, message: Message) => {
  await send(message.text, { thread });
});

export default channel;
```

See the [Linq adapter documentation](https://chat-sdk.dev/adapters/vendor-official/linq) for supported events, capabilities, and credentials.

## Configure

Create a Linq account, set `LINQ_API_KEY` and `LINQ_WEBHOOK_SECRET`, then point its signed webhook at `/eve/v1/linq`. Linq supports iMessage and SMS DMs and group chats, media, buffered streaming, and tapbacks. See the [Chat SDK channel docs](/docs/channels/chat-sdk) for eve session dispatch, state, streaming, and human-in-the-loop behavior.

[Read the full channel documentation](/docs/channels/chat-sdk)

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)