Barclays Center, meet BlackBerry.

The Brooklyn arena, home to the Nets, has struck a two-season marketing deal with the embattled smartphone maker, The Post has learned.

The deal is valued at $1 million to $5 million, according to an industry source who spoke on the condition of anonymity.

BlackBerry and its new Z10 phone will get prominent ad placement throughout the arena — plus its own customer “experiential” area and a suite-level lounge, according to Mike Zavodsky, the Nets vice president of new corporate marketing.

BlackBerry is paying for “brand domination” at the arena, where people will see marketing for the smartphone maker from “street to seat,” he said.

The tech company has been on a marketing push of late to revive its market share in smartphones since losing ground to the likes of Apple and Samsung. The BlackBerry Z10 hit US stores last month.

BlackBerry has targeted other sports, like Formula 1 racing, with a reported $12 million deal announced in February. BlackBerry also markets heavily with the NHL.

BlackBerry paid $4 million for a Super Bowl ad this year.

The Barclays Center has similar deals with Calvin Klein and MetroPCS for branded “mini-neighborhoods” within the arena.

The deal with BlackBerry, which could be announced as soon as today, comes just as Alicia Keys is set to perform at the arena tomorrow. The singer is a “brand ambassador” for BlackBerry.