To get ranked on Google, you need to first submit your website for inclusion to be indexed. Set up an account on Google Search Console and submit your XML sitemap to get crawled. You would do the same to be included into Bing search results since they have their own search engine crawlers.