This page describes how to get started with the
[Google Cloud CLI](https://docs.cloud.google.com/sdk/docs)
so you can use it to manage private connectivity configurations, connection profiles, and streams in Datastream.

The Google Cloud CLI
provides the Google Cloud CLI to interact with
Datastream and other Google Cloud services. The gcloud CLI
uses the API to access Datastream, so you must enable the API before you
can use the tool.

You can see `gcloud` examples in the following pages of the Datastream documentation:

- [Manage private connectivity configurations](https://docs.cloud.google.com/datastream/docs/manage-private-connectivity-configurations)
- [Manage connection profiles](https://docs.cloud.google.com/datastream/docs/manage-connection-profiles)
- [Manage streams](https://docs.cloud.google.com/datastream/docs/manage-streams)

## Get started with the Google Cloud CLI

To start with the gcloud CLI, review the
[Google Cloud CLI Documentation](https://docs.cloud.google.com/sdk/docs).
You can get help for the tool, resources, and
commands by using the `--help` flag:

```bash
gcloud datastream --help
gcloud datastream private-connections create --help
gcloud datastream connection-profiles create --help
gcloud datastream streams create --help
```


Finally, configure a project as your default project with
two commands. The first command below lists the
configuration for the gcloud CLI, including any default project
already set. The second command sets the default project.

```bash
gcloud config list
gcloud config set project [PROJECT_ID]
```