Update at 7:02 p.m. Pacific: Corrected the number of years over which it will donate the grants, the original time of the community center’s announcement, and that it upped it’s total investment in it. 

Twitter’s headquarters are in a less-than-desirable part of San Francisco, but the company says it’s incredibly committed to helping not only its own neighborhood, but also San Francisco at large.

In a new outline of its plan to give back to its community, Twitter says it plans to donate more than $3 million in grants to local nonprofits over the next four years as part of its Community Benefit Agreement.

Twitter grants

The beneficiaries include the Bay Area Women’s and Children’s Center, Black Girls Code, Boys & Girls Club Tenderloin Clubhouse, City Impact, Compass Family Services, DrawBridge, Glide Memorial Church, Hamilton Family Center, Larkin Street Youth Services, Oasis for Girls, Tenderloin Community School, Tenderloin Neighborhood Development Corporation, Tenderloin Technology Lab, and United Playaz, among others.

Twitter also reiterated its commitment to helping the city by providing organizations with event space, encouraging and facilitating volunteering for its employees, and working to make the Twitter NeighborNest — the learning and training center it’s sponsoring — an important resource for education in the community. The company announced the Twitter NeighborNest in late May. It’s a partnership with Compass Family Services aimed at providing education in technology and other job skills for the homeless. Twitter is investing $3 million in the center, up from the original $1 million it announced.

As an incentive to get Twitter to locate its headquarters in San Francisco, the city allowed Twitter and other companies based in the Mid-Market neighborhood to avoid payroll taxes for six years in exchange for agreeing to contribute to revitalizing the community.