I'm not sure I entirely understand your situation; a picture might help.
If this is a subpanel, neutral connects to the neutral bar, which must not be bonded to the metal box. Ground goes to a ground bar you will probably have to purchase separately and screw into the panel.
If this is a subpanel, neutral connects to the neutral bar, which must not be bonded to the metal box. Ground goes to a ground bar you will probably have to purchase separately and screw into the panel.