You can use Confluent Cloud CLI to interact with your Confluent Cloud cluster.
You can find the documentation and instructions for running this Confluent Cloud CLI example at https://docs.confluent.io/current/tutorials/examples/ccloud/docs/beginner-cloud.html