Hi SreekaanthGanesan3775,
Great Question!
Genie comes pre loaded with commands like "genie create testbed" which will give you a terminal prompt to enter in the hostname, IP address, device credentials to create a testbed file in .yaml.
Once you have your testbed file created you can connect to it then learn the BGP profile with the command "genie learn bgp --testbed-file ['devicename'] --output afilenamehere"
You can then run "genie diff" to use genie to compare between different operation states.
Genie has some great Documentation listed at developer.cisco.com which I encourage you to check out!
*** Rate All Helpful Responses ***