Forums/Community/Community questions & answers


Embed forums/home page into web site

asked this on June 03, 2011 09:56

I am wondering is there a way to embed our forums page into our internal website with some some code? I have code to just have the search field which then opens up to the forums but I am looking to have the actual forums page displayed on our site for our users. Is this possible?




User photo
Chirag Desai

Hi Satina,

The simples thing (we've done) is to just link to the forums on our website, and we've matched the branding on our website to keep the experience flowing as one so users look at it as if it were our own site (we map our domain as well).

The other thing might be to use an iframe? But you'd have to edit the theme to remove the logos up top else when the iframe loads you would have duplicates.

Hope this helps.

March 05, 2012 04:10
User photo
Kevin Vanscoder
Check Answer

Thanks for the question! 

Embedding using an iframe in an external page is not a recommended use and could be buggy (since it was not designed for that use). It is possible to link the forum (like @Chirag said) or use our REST API to create search the ZD forum from your external page. You can read more about using the REST API for search here:

June 18, 2012 11:13
User photo
Martijn Snels

Have you tried to implement to following for your search field?

September 27, 2012 12:08
User photo
Balakrishna Reddy


I want to integrate zendesk remote authentication to my website.

can someone please provide c# code for this? i have tried with the following code

using System;
using System.Collections.Generic;
using System.Web;
using JWT;

namespace AmberPortal
public class JWTLogin : IHttpHandler
private const string SHARED_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
private const string SUBDOMAIN = "amberfianacial";
public void ProcessRequest(HttpContext context)
var payload = new Dictionary<string, object>() {
{ "iat", (new DateTime()).ToLongTimeString() },
{ "jti", System.Guid.NewGuid() },
//{ "name", "Amber" },
//{ "email", "" }
{ "name", "Balakrishna Reddy" },
{ "email", "" }

string token = JsonWebToken.Encode(payload, SHARED_KEY, JwtHashAlgorithm.HS256);
string redirectUrl = "https://" + SUBDOMAIN + "" + token;


public bool IsReusable
return true;


public partial class ZendeskTest : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
JWTLogin jwt = new JWTLogin();


but i get nothing as result. 

Please Help..

May 01, 2013 22:50
User photo
Brandon K.

Hello Balakrishna,

Unfortunately we do not have any .Net code for SSO so I do not have a solution for you. It might be possible that someone else in our community support forums has built something like this out and would like to share code. Also, our SSO JWT might be useful for you in your endeavors to set up this remote authentication:

May 15, 2013 16:43
User photo
M Yunier T Hernandez

You have to modify   (new DateTime()).ToLongTimeString() by this, hope helps!

double currentTimestamp = (DateTime.UtcNow - new DateTime(1970,1,1,0,0,0)).TotalSeconds;
May 27, 2013 08:39