# ck add extension

Adds a Service Extension node to the current measurement 
setup. To add a DataProcessor you need to specify either previous node or next 
node, otherwise a Target will be added.

## Synopsis

```extension [Extension Name] [-c|--config] [-l|--language] [-n|--name] [--next-node] [-p|--previous-node]```

## Description

Adds a Service Extension node to the current measurement 
setup. To add a DataProcessor you need to specify either previous node or next 
node, otherwise a Target will be added.

## Arguments

- `Extension Name`
	
	 The service extension name.

## Options

- `-c|--config`
	
	 The extension configuration. A valid JSON formatted 
string to configuring the extension node.

- `-l|--language`
	
	 Specify the preferred language to be used in all output 
strings. Default value is English (en).

- `-n|--name`
	
	 Name of the node. Default value is the extension 
name.

- `--next-node`
	
	 Identifier/Name of the next node when adding a new node 
to the measurement setup. If the extension is a DataProcessor, then you need to 
set either previous node or next node, but not both.

- `-p|--previous-node`
	
	 Identifier/Name of the previous node when adding a new 
node to the measurement setup. If the extension is a DataProcessor, then you 
need to set either previous node or next node, but not both.

## Examples

- ```ck add extension my-extension-name -n Ext1 -p "CAN 1"```

