A new transit hub in the Triangle has secured $2 million in funding, GoTriangle officials announced Thursday.