Your professor will let you know if they want you to use a footnote or in-text citation style (also called parenthetical references). Every citation style has its own rules for how to format in-text citations.
Example from ZU Library's APA Citation Style subject guide.
How to Cite a Direct Quote (pp.170-171)
When you incorporate a direct quotation into a sentence, you must cite the source. Fit quotations within your sentences, enclosed in quotation marks, making sure the sentences are grammatically correct.
Gibaldi (2003, p. 109) indicates that, “Quotations are effective in research papers when used selectively.”
Remember that “[q]uotations are effective in research papers when used selectively” (Gibaldi, 2003, p. 109).
In 2003, Gibaldi wrote that, “Quotations are effective in research papers when used selectively” (p. 109).
If a quotation is 40 words or more, omit quotation marks and use a block format in which the quotation is indented about ½ inch (or 5 spaces) from the left margin.
To see more examples of in-text citation formatting in both APA and MLA citiation styles, please refer to the ZU Citing Your Sources subject guide.