---
title: rpk connect create
latest-redpanda-tag: v26.2.7
latest-console-tag: v3.14.0
latest-operator-version: v26.2.6
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "false"
page-eol-date: July 28, 2027
latest-connect-version: 4.118.0
docname: rpk/rpk-connect/rpk-connect-create
page-component-name: streaming
page-version: "26.2"
page-component-version: "26.2"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-connect/rpk-connect-create.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/main/modules/reference/pages/rpk/rpk-connect/rpk-connect-create.adoc
description: Prints a new Redpanda Connect config to stdout containing specified components according to an expression.
page-git-created-date: "2024-05-30"
page-git-modified-date: "2026-10-29"
page-autogenerated: true
page-generated-by: doc-tools (rpk-docs)
page-generated-from: the rpk command help in redpanda-data/streaming-enterprise
page-generated-content: all
support-status: supported
---

# rpk connect create

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

<!-- Source: https://docs.redpanda.com/streaming/current/reference/rpk/rpk-connect/rpk-connect-create.md -->

Prints a new Redpanda Connect config to stdout containing specified components according to an expression. The expression must take the form of three comma-separated lists of inputs, processors and outputs, divided by forward slashes:

```text
redpanda-connect create stdin/bloblang,awk/nats
redpanda-connect create file,http_server/protobuf/http_client
```

If the expression is omitted a default config is created.

## Usage

```bash
rpk connect create [flags]
```

## Examples

This section provides examples of how to use `rpk connect create`.

Create a config with stdin input, bloblang/awk processor, and nats output.

```bash
rpk connect create stdin/bloblang,awk/nats
```

Create a config with file/http_server inputs, protobuf processor, and http_client output.

```bash
rpk connect create file,http_server/protobuf/http_client
```

## Flags

| Value | Type | Description |
| --- | --- | --- |
| `-s, --small` | bool | Print only the main components of a Redpanda Connect config (`input`, pipeline, output) and omit all fields marked as advanced. |
| `-e, --env-file` | strings | import environment variables from a dotenv file. |
| `-t, --templates` | strings | EXPERIMENTAL: import Redpanda Connect templates, supports glob patterns (requires quotes). |

## Global flags

| Value | Type | Description |
| --- | --- | --- |
| `--config` | string | Redpanda or `rpk` config file; default search paths are `~/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`. |
| `-X, --config-opt` | stringArray | Override `rpk` configuration settings; `-X help` for detail or `-X list` for terser detail. |
| `--ignore-profile` | bool | Ignore `rpk.yaml` and `redpanda.yaml`; use default settings. |
| `--profile` | string | `rpk` profile to use. |
| `-v, --verbose` | bool | Enable verbose logging. |