Unfortunately you are not allowed to have chickens in the unincorporated areas of the county of Sacramento unless you have a lot size that is larger than 10,000 square feet. If your lot size is larger - no problem.
If it is smaller, then your only hope is to work to have the code changed, or...