After you keg the beer, there will be O2 in the keg. Pressurize with CO2 and bleed your keg a couple of times to replace the stagnant O2 with CO2.
Once you get your keg carbonated, you can turn off your CO2. After you drink a few beers you may need to turn it back on to pressurize your keg...