..."Just got him"...You mean like today...??
Give him a little time to settle in after being moved into new surrondings, and sure enough/ soon enough he will eat...
Mine spent the first day "scopeing" out the bottom of the tank before he showed any interest in food...
Within a day or two, he'll be eating out of your fingers...