Can anyone help me to do citations in the text using author and year, importing them from/using a bib file. I tried to use this code but doesn't work.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{biblatex}
\bibliography{xxx.bib}
\usepackage[english]{babel}
\usepackage[
backend=biber,
style=alphabetic,
citestyle=authoryear
]{biblatex}
\begin{document}
Let's cite! The Einstein's journal paper \cite {xxxx}
\printbibliography
\end{document}