Were they recruited for either side or just stay out of it because of the white man's treatment of them?
The civil war was as divisive for some Indian Nations as it was for the United States.
The tribes that were most involved in "national" policies towards the Civil War were the "5 Civilized Tribes" of Indian Territory (Oklahoma). All 5 of these tribes were slave owners, collectively owning about 10,000 slaves.
Source: http://www.freerepublic.com/focus/news/655380/posts
One would think this inclined them to side with the Confederates, but in fact, both the Creeks and the Cherokee were divided and split, with some on each side.
The Union favoring Creeks, under chief Opothleyahola were attacked by Confederates and Cherokee. They retreated towards Kansas in what was called the "Trail of Blood and Ice". They fought three losing battles along the way, before the survivors reached the safety of Union lines.
The Cherokee Nation also had an internal civil war, with Principle Chief John Ross wanting to remain neutral, but Stand Watie wanting to join the Confederates. Eventually, Chief Ross joined the Confederacy, but the Cherokee Mounted Rifles and Ross defected to the Union forces in Kansas soon thereafter.
Watie became a Confederate general and he led two battalions of Cherokee cavalry as well as Creek Osage and Seminole forces in several successful battles. Watie was the last Confederate General to surrender in the Civil War, two months after Robert E. Lee surrendered at Appomattox.
The only other Native American Brigadier General in the Civil War was Union General Ely S. Parker, a member of the Seneca Tribe, who drafted the articles of surrender which Lee signed.
At the surrender ceremony Robert E. Lee said to Parker, "I'm glad to see one real American here." Parker replied, "We are all Americans."
You may be interested in this reply I made to a similar question a couple months ago. It also has a link to a few related threads too.