Insurance companies do look at your credit score to determine your rate when they provide you with a quote. However, it is a “soft inquiry” on your credit report, which does not impact your score at all.
If you’d like to learn about how your credit score affects your car insurance, check out this article: How Your Credit Score Affects Car Insurance Rates.