Connecting arduino with ethernet shield

void setup() {
Cayenne.begin(username, password, clientID);
I don’t know what is my username, password, clientID?where i connected my usb cable to arduino,and LAN cable to the laptop;when my laptop was connected to wifi?help me to solve!!! can"t able to connect my board to cayenne dashboard.

on your cayenne dashboard add a new device by navigating to add new ---> devices/widget--->arduino--> next this will provide you your MQTT credentials. add them in your code.

USB needs to be connected to your laptop, whereas your ethernet cable needs to be connected to your router.