The Band Together Bay Area benefit concert at AT&T Park on Thursday generated $17 million, bringing the total raised to $23 million for those affected by the firestorm that swept through Northern California, officials announced Friday.

More money for the Tipping Point Emergency Relief Fund was expected to come in as the Band Together Bay Area coalition continues to count money raised by selling merchandise and streaming the concert online via sites such as Twitter and YouTube.

With a lineup that featured popular Bay Area acts Metallica, Dead & Company, G-Eazy, Rancid and Raphael Saadiq (along with visitors Dave Matthews and Tim Reynolds), the sold-out concert drew more than 40,000 people to the ballpark. Some 6,500 tickets were donated to first responders and residents of the areas hardest hit by the fire.

Daniel Lurie, executive director of Tipping Point Community, a grant-making organization that fights poverty in the Bay Area and is spearheading the relief fund, said the money would go toward providing short-, intermediate- and long-term relief for low-income families, immigrants and other victims.

“We’re going to put it to good use,” Lurie said during a backstage interview Thursday. “That’s what Tipping Point does best. We know how to raise funds, but our emphasis is getting it to those who need it most.”

The concert was produced by competing concert promoters Another Planet Entertainment and Live Nation, with support from several prominent business and community leaders, including Salesforce Chairman Marc Benioff, Giants President Larry Baer, Twilio CEO Jeff Lawson, tech investor Ron Conway and Kaiser Permanente CEO Bernard Tyson.

Band Together Bay Area, which includes 60 companies, raised more than $6 million for the relief effort before the gates even opened Thursday night.

The promoters saved $500,000, thanks to Dreamforce’s big Dreamfest charity concert, featuring Alicia Keys and Lenny Kravitz, which was hosted at AT&T Park two days before Band Together Bay Area. The earlier concert’s setup, including the lights, soundboards and ground covering, was left in place to accommodate Thursday’s benefit.

In addition to the musical acts, local celebrities such as the San Francisco Giants’ Buster Posey and Barry Bonds and the 49ers’ Joe Montana turned up to lend their support.

AT&T Park announcer Renel Brooks-Moon emceed the event.

The artists who performed all donated their time.

“Community should come out to help community,” said Mickey Hart, drummer of Dead & Company, which quickly rearranged travel plans for its East Coast tour dates to fit the concert into their schedule. “That makes it a community. No need for thanks. This is a thing you have to do.”

Aidin Vaziri is The San Francisco Chronicle’s pop music critic. E-mail: avaziri@sfchronicle.com Twitter: @MusicSF

How to help

Donations to the Tipping Point Emergency Relief Fund can still be made through these options:

Donations can be made via YouTube at www.youtube.com/user/MetallicaTV or send $25 to the fund by texting TOGETHER to 20222. Google, one of the concert’s founding sponsors, will match donations made through text and the YouTube channel, up to $1 million, until Jan. 1.

Double your donation with Oath, a global media and technology company, matching up to $100,000 to Tipping Point Emergency Relief Fund: http://tinyurl.com/y9aqqwfh

Donate through Outside Lands, which will match donations to the Tipping Point Emergency Relief Fund up to $25,000: http://tinyurl.com/ybt9lp62

Tipping Point is also accepting donations through Bitcoin: https://tippingpoint.org/#bitcoin

For more information: www.bandtogetherbayarea.org