Within Extensions > Plugins publish "Two Factor Authentication - Google Authenticator" or "Two Factor Authentication - YubiKey" then within your frontend profile edit you should see the below wherever you've placed your params field.
If you don't see it then ensure the params field in CB > Field Management is set to display on profile edit and that you have not hid it with CB Privacy or CB Conditional. TFA must be configured by the user from frontend. You can not do this on the users behalf or for your own account from backend.