To build a $4020000 International Convention and Exhibition
MPs voted 61-59 and kept to party lines, although Speaker David Carter had ruled they could cast conscience votes.
National's 59 MPs, Asian college of knowledge management along with independent MP Peter Dunne and ACT leader John Banks, gave the government its majority.
All the others voted against the bill. Labour was an MP short because Meka Whaitiri, who won the Ikaroa-Rawhiti by-election, hasn't been sworn in.
Economic Development Minister Steven Joyce kicked off the first reading debate on Thursday.
"This bill is first and foremost about investment, jobs and growth," he said.
"For years the business sector and the tourism sector have been asking for an international convention centre to tap into high value visitors."
Mr Joyce said the centre would attract about 33,000 high-spending delegates each year and would inject $90 million into the economy.
SkyCity is paying the full cost of the project in exchange for 230 more pokie machines, 40 more gaming tables, Set up Business in Hong Kong new cashless gambling technology and a 35-year extension to its gambling licence.
Opposition MPs condemned the deal, as they have done since it was signed last week.
"It's a disgraceful piece of legislation built on a dodgy deal," said Labour's deputy leader Grant Robertson.
"It is shameful and tawdry, and if we see gambling harm when we're in government we will deal with it."
Green Party co-leader Metiria Turei trawled through all the recent reports about problem gambling.
"This bill is wrong, storage cabinet it's wrong to sell the law to SkyCity so they can make millions out of the misery of problem gamblers."
The bill has been sent to the commerce select committee for public submissions.