How to retain custom config within sandbox?

Without sandbox its dialed in, then once it’s sandboxed the config changes to some default setup etc. How do you get the custom config to carry over to the sandbox?

Thanks