In the case it is an adverb, as in accompanying or together with, for example 'consider the advantages along with the disadvantages'
because
"To get along" is an infinitive phrase.
"Along" is an adverb, or sometimes a preposition, depending upon how it is used in a sentence.
Which, along with who, that, whose, what, how, etc., are relative pronouns. They can also be used as subordinate conjunctions.
what part of speech is work
adverb
If "get along with" is considered a small enough number of words to have a part of speech as a phrase, it is a verb.
"To get along" is an infinitive phrase.
If "get along with" is considered a small enough number of words to have a part of speech as a phrase, it is a verb.
Adverb
"a" is an article along with "an" and "the"
"Along" is an adverb, or sometimes a preposition, depending upon how it is used in a sentence.
on, under, near, along, beneath, above, with, and so on.
"Backwards" is an adverb: "The car moved slowly backwards along the street."
Which, along with who, that, whose, what, how, etc., are relative pronouns. They can also be used as subordinate conjunctions.
The word karaoke is a noun. It is a form of entertainment where people sing along to tracks of popular songs.
part of speech
The part of speech for this particular word is a noun.