# Import from NSC

Systems, accounts and users can be imported into an Control Plane managed system directly from a local `nsc` store.

If you haven't already [Download and configure](/platform/1.14/control-plane/cli/setup.md) the CLI.

## Import systems

```
synctl system import
```

The `import` command will prompt you for the `operator` you want to import.

Control Plane will ignore the system if it has already been imported - it is safe to run this command multiple times.

When importing an operator or SYS account that is configured with signing keys, you will be prompted if you want to import the root key or a signing key:

```
? Use Operator Signing Key? (y/N)

? Use SYS Account Signing Key? (y/N)
```

note

In order for Control Plane to fully manage the system and handle operations such as signing key rotation you must import the root operator and SYS account keys.

It is possible to import all accounts for a given operator as one command - use the `--all` flag:

```
synctl system import --all
```

You may also import all users using the `--users` flag:

```
synctl system import --all --users
```

To import specific accounts or users, use the `import-account` and `import-user` commands after the system has been imported.

## Import accounts

```
synctl system import-account
```

The `import-account` command will prompt you for the `system`, `operator`, and `account` you want to import.

Any accounts / users that already exist in Control Plane will be ignored - it is safe to run this command multiple times.

note

You can import an account from any operator in your local `nsc` store, even ones that were not created by the system you are importing into. Control Plane will update the account JWT during import and sign it with the correct system key.

To import an account the root key seed must be in your local `nsc` store. Any signing key seeds that are present on the account's JWT will be imported if possible, but are not required.

note

Each signing key will be imported as a new `group` named `imported-key-*`

It is possible to import all accounts from a given operator as one command - use the `--all` flag:

```
synctl system import-account --all
```

You may also import all users for a particular account using the `--users` flag:

```
synctl system import-account --users
```

If you only want to import specific users use the `import-user` command below after importing the account.

## Import users

```
synctl system import-user
```

The `import-user` command will prompt you for the `system`, `operator`, `account`, and `user` you want to import.

The account you want to import into must have already been imported.

note

You must have access to the user's seed in order to import them.

If a signing key was use the imported user will be automatically added to the correct `group` in Control Plane.
