Newbie Question

I was reading on a ps3 trophy website that there was a trophy that you can get for playing online or split screen so I wanted to know that if this game is online then should we have a online pass to come with it as I got the game at WalMart today and did not have a chance to play it yet or it just like the Modnation Racers game in which it's free to play online?.