Independent sample t-test after k-means clustering

Hi there! I've conducted data clustering using k-means algorithm in R and obtained three clusters as I wanted. Next, I'd like to perform an independent sample t-test between two selected clusters. Could you please kindly assist and let me know what the next steps are? I know how to conduct the t-test, but I have no clue what I need to do with the clustered data in order to perform the test and compare the statistical significance of the means between the two clusters. I guess the data needs to be reassembled somehow. Thank you very much for your help!