First, you will need to make sure that the state in which you are registering the vehicle allows non-resident registration. Some states do not allow this, so you will need to check with your local DMV to be sure.
Second, you will need to make sure that you have a valid insurance policy for the vehicle. The insurance company you choose must be licensed to do business in the state where the vehicle is garaged or registered.
Third, you will need to pay the appropriate registration fees and taxes in both states. In the state where the vehicle is registered, you will need to pay the registration fees and taxes required by that state. In the state where the vehicle is insured, you will need to pay the insurance premiums and any other fees required by that state.
If you are planning on registering your vehicle in one state but insuring it in another, it is important to speak with your insurance company and the DMV in both states to make sure that everything is done correctly.