Given how new ChatGPT and generative AI are to academic works, the major citation styles have not had the chance to develop formal guidelines for how to cite them.
Linked below are three blog posts from MLA, APA, and Chicago with recommendations on how to cite ChatGPT and other generative AI:
The SCU Library drafted an FAQ to help students navigate how to cite ChatGPT - you can see it below. You can use this to share with friends if they ask you how to cite!