Rebinding keys in control settings input with Input System

So how can I make control settings menu where I can rebind my keys using Input System? I can’t find any documentation. It will be great if someone gave me the code.

I think this is what you’re looking for…

https://docs.unity3d.com/Packages/com.unity.inputsystem@1.1/manual/ActionBindings.html#saving-and-loading-rebinds