To do this task you have to install the connector using Confluent Hub. Navigate to your Confluent Platform installation directory and run the following command to install the latest (latest) connector version. The connector must be installed on every machine where Connect will run.
confluent-hub install confluentinc/kafka-connect-s3:latest
Hope this works for you!
Get your Kafka certification today to become certified professional