Hair is a book .
The musical broke new ground in musical theatre by defining the genre of `` rock musical `` , using a racially integrated cast , and inviting the audience onstage for a `` Be-In `` finale .