To get the configuration, you can use the CLI commands:
terminal length 0
show running-config
Copy and paste the outputs into a plain text file.