Protein amount

I was wondering how My fitnesspal determines the amount of protein, carbs and fat you should take in. Can I custom set this for myself?